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

Method __dir__

22-dyn-attr-prop/oscon/explore1.py:70–71  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

68 return FrozenJSON.build(self.__data[name])
69
70 def __dir__(self): # <5>
71 return self.__data.keys()
72
73 @classmethod
74 def build(cls, obj):

Callers

nothing calls this directly

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected