MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / PyObject_Dir

Function PyObject_Dir

Objects/object.c:1967–1988  ·  view source on GitHub ↗

Implementation of dir() -- if obj is NULL, returns the names in the current (local) scope. Otherwise, performs introspection of the object: returns a sorted list of attribute names (supposedly) accessible from the object */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

builtin_dirFunction · 0.85

Calls 3

_dir_localsFunction · 0.85
_dir_objectFunction · 0.85
PyList_SortFunction · 0.85

Tested by

no test coverage detected