Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ closegroup
Method
closegroup
Lib/re/_parser.py:98–99 ·
view source on GitHub ↗
(self, gid, p)
Source
from the content-addressed store, hash-verified
96
self.groupdict[name] = gid
97
return
gid
98
def
closegroup(self, gid, p):
99
self.groupwidths[gid] = p.getwidth()
100
def
checkgroup(self, gid):
101
return
gid < self.groups and self.groupwidths[gid] is not None
102
Callers
2
__init__
Method · 0.95
_parse
Function · 0.80
Calls
1
getwidth
Method · 0.80
Tested by
no test coverage detected