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

Function group

Lib/tokenize.py:60–60  ·  view source on GitHub ↗
(*choices)

Source from the content-addressed store, hash-verified

58 return self.type
59
60def group(*choices): return '(' + '|'.join(choices) + ')'
61def any(*choices): return group(*choices) + '*'
62def maybe(*choices): return group(*choices) + '?'
63

Callers 3

anyFunction · 0.70
maybeFunction · 0.70
tokenize.pyFile · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…