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

Function is_builtin

py/generate.py:140–146  ·  view source on GitHub ↗

Return True if `name` would shadow a builtin.

(name)

Source from the content-addressed store, hash-verified

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

Callers 1

snake_caseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected