Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ valid_ident
Function
valid_ident
Lib/logging/config.py:297–301 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
295
296
297
def
valid_ident(s):
298
m = IDENTIFIER.match(s)
299
if
not m:
300
raise
ValueError(
'Not a valid Python identifier: %r'
% s)
301
return
True
302
303
304
class
ConvertingMixin(object):
Callers
2
configure_custom
Method · 0.85
configure_handler
Method · 0.85
Calls
1
match
Method · 0.45
Tested by
no test coverage detected