MCPcopy Create free account
hub / github.com/ipython/ipython / isidentifier

Function isidentifier

IPython/utils/py3compat.py:155–158  ·  view source on GitHub ↗
(s, dotted=False)

Source from the content-addressed store, hash-verified

153which = shutil.which
154
155def isidentifier(s, dotted=False):
156 if dotted:
157 return all(isidentifier(a) for a in s.split("."))
158 return s.isidentifier()
159
160getcwd = os.getcwd
161

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected