MCPcopy Index your code
hub / github.com/python/cpython / checkgroup

Method checkgroup

Lib/re/_parser.py:100–101  ·  view source on GitHub ↗
(self, gid)

Source from the content-addressed store, hash-verified

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
103 def checklookbehindgroup(self, gid, source):
104 if self.lookbehindgroups is not None:

Callers 3

checklookbehindgroupMethod · 0.95
_escapeFunction · 0.80
_parseFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected