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

Function group

tools/python-3.11.9-amd64/Lib/tokenize.py:59–59  ·  view source on GitHub ↗
(*choices)

Source from the content-addressed store, hash-verified

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

Callers 3

anyFunction · 0.70
maybeFunction · 0.70
tokenize.pyFile · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected