Return true for strings starting with single _ if show_all is true.
(str, show_all=False)
| 52 | return False |
| 53 | |
| 54 | def 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 | |
| 58 | def dict_dir(obj): |
| 59 | """Produce a dictionary of an object's attributes. Builds on dir2 by |
no outgoing calls
no test coverage detected
searching dependent graphs…