MCPcopy Index your code
hub / github.com/RustPython/RustPython / 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.85

Tested by 15

test_get_objectsMethod · 0.40
__instancecheck__Method · 0.40
__subclasscheck__Method · 0.40
longer_match_existsMethod · 0.40
test_shared_ciphersMethod · 0.40
_has_load_super_attrMethod · 0.40
test_anyMethod · 0.40
f_anyMethod · 0.40
test_underscoresMethod · 0.40
__init__Method · 0.40