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

Function isidentifier

traitlets/traitlets.py:173–179  ·  view source on GitHub ↗
(s: str)

Source from the content-addressed store, hash-verified

171
172
173def isidentifier(s: str) -> bool:
174 warn(
175 "traitlets.traitlets.isidentifier(s) is deprecated since traitlets 5.14.4 Use `s.isidentifier()`.",
176 DeprecationWarning,
177 stacklevel=2,
178 )
179 return s.isidentifier()
180
181
182def _safe_literal_eval(s: str) -> t.Any:

Callers

nothing calls this directly

Calls 1

warnFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…