Method: pylint.checkers.utils.is_builtin
Calls: 17101, Exceptions: 0, Paths: 1Back
Path 1: 17101 calls (1.0)
'self' (1619) 'print' (1015) 'int' (775) 'str' (443) 'range' (295) 'super' (167) 'list' (159) 'arg' (146) 'x' (146) 'cls' (144)
False (12236) True (4865)
1def is_builtin(name: str) -> bool:
2 """Return true if <name> could be considered as a builtin defined by python."""
3 return name in builtins or name in SPECIAL_BUILTINS # type: ignore[operator]