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

Method __dir__

22-dyn-attr-prop/oscon/explore2.py:55–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 return FrozenJSON(self.__data[name]) # <4>
54
55 def __dir__(self):
56 return self.__data.keys()
57# end::EXPLORE2[]

Callers

nothing calls this directly

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected