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

Function show_hidden

IPython/utils/wildcard.py:54–56  ·  view source on GitHub ↗

Return true for strings starting with single _ if show_all is true.

(str, show_all=False)

Source from the content-addressed store, hash-verified

52 return False
53
54def show_hidden(str, show_all=False):
55 """Return true for strings starting with single _ if show_all is true."""
56 return show_all or str.startswith("__") or not str.startswith("_")
57
58def dict_dir(obj):
59 """Produce a dictionary of an object's attributes. Builds on dir2 by

Callers 1

filter_nsFunction · 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…