MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / is_builtin

Function is_builtin

py/generate.py:141–147  ·  view source on GitHub ↗

Return True if `name` would shadow a builtin.

(name)

Source from the content-addressed store, hash-verified

139
140
141def is_builtin(name):
142 """Return True if `name` would shadow a builtin."""
143 try:
144 getattr(builtins, name)
145 return True
146 except AttributeError:
147 return False
148
149
150def snake_case(name):

Callers 1

snake_caseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected