MCPcopy Index your code
hub / github.com/python/cpython / 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
297def 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
304class ConvertingMixin(object):

Callers 2

configure_customMethod · 0.85
configure_handlerMethod · 0.85

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…