MCPcopy Index your code
hub / github.com/ipython/ipython / get__all__entries

Function get__all__entries

IPython/core/completer.py:1407–1414  ·  view source on GitHub ↗

returns the strings in the __all__ attribute

(obj)

Source from the content-addressed store, hash-verified

1405
1406
1407def get__all__entries(obj):
1408 """returns the strings in the __all__ attribute"""
1409 try:
1410 words = getattr(obj, '__all__')
1411 except Exception:
1412 return []
1413
1414 return [w for w in words if isinstance(w, str)]
1415
1416
1417class _DictKeyState(enum.Flag):

Callers 1

_attr_matchesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…