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

Function any

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

Source from the content-addressed store, hash-verified

59
60def group(*choices): return '(' + '|'.join(choices) + ')'
61def any(*choices): return group(*choices) + '*'
62def maybe(*choices): return group(*choices) + '?'
63
64# Note: we use unicode matching for names ("\w") but ascii matching for

Callers 15

_c3_mroFunction · 0.70
compiler_fixupFunction · 0.70
getsourcefileFunction · 0.70
indexMethod · 0.70
whichFunction · 0.70
__setitem__Method · 0.70
is_privateMethod · 0.70
is_privateMethod · 0.70
is_reservedMethod · 0.70
is_privateMethod · 0.70
isreservedFunction · 0.70
__call__Method · 0.70

Calls 1

groupFunction · 0.70

Tested by

no test coverage detected