MCPcopy Index your code
hub / github.com/RustPython/RustPython / __dir__

Method __dir__

Lib/typing.py:1299–1301  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1297 " class and instance checks")
1298
1299 def __dir__(self):
1300 return list(set(super().__dir__()
1301 + [attr for attr in dir(self.__origin__) if not _is_dunder(attr)]))
1302
1303
1304# Special typing constructs Union, Optional, Generic, Callable and Tuple

Callers

nothing calls this directly

Calls 5

listClass · 0.85
setFunction · 0.85
superClass · 0.85
dirFunction · 0.85
_is_dunderFunction · 0.70

Tested by

no test coverage detected