bundles / IPython 9.12.0 / IPython / lib / pretty / _safe_getattr
function
IPython.lib.pretty:_safe_getattr
source: /IPython/lib/pretty.py :127
Signature
def _safe_getattr ( obj , attr , default = None ) Summary
Safe version of getattr.
Extended Summary
Same as getattr, but will return default on any Exception, rather than raising.
Aliases
-
IPython.lib.pretty._safe_getattr