MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / closegroup

Method closegroup

tools/python-3.11.9-amd64/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
_parseFunction · 0.80

Calls 1

getwidthMethod · 0.80

Tested by

no test coverage detected