Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _is_dunder
Function
_is_dunder
Lib/typing.py:1212–1213 ·
view source on GitHub ↗
(attr)
Source
from the content-addressed store, hash-verified
1210
1211
1212
def
_is_dunder(attr):
1213
return
attr.startswith(
'__'
) and attr.endswith(
'__'
)
1214
1215
class
_BaseGenericAlias(_Final, _root=True):
1216
""
"The central part of the internal API.
Callers
3
__getattr__
Method · 0.70
__setattr__
Method · 0.70
__dir__
Method · 0.70
Calls
2
startswith
Method · 0.45
endswith
Method · 0.45
Tested by
no test coverage detected