MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / __dir__

Method __dir__

22-dyn-attr-prop/oscon/explore0.py:57–58  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

55 return FrozenJSON.build(self.__data[name]) # <4>
56
57 def __dir__(self): # <5>
58 return self.__data.keys()
59
60 @classmethod
61 def build(cls, obj): # <6>

Callers

nothing calls this directly

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected