Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ 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
60
def
group(*choices):
return
'('
+
'|'
.join(choices) +
')'
61
def
any(*choices):
return
group(*choices) +
'*'
62
def
maybe(*choices):
return
group(*choices) +
'?'
63
Callers
3
any
Function · 0.85
maybe
Function · 0.85
tokenize.py
File · 0.85
Calls
1
join
Method · 0.45
Tested by
no test coverage detected