bundles / IPython latest / IPython / lib / pretty / _safe_getattr
function
IPython.lib.pretty:_safe_getattr
source: /IPython/lib/pretty.py:121
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