MCPcopy Create free account
hub / github.com/ipython/ipython / __getattribute__

Method __getattribute__

IPython/testing/plugin/ipdoctest.py:78–82  ·  view source on GitHub ↗
(self,key)

Source from the content-addressed store, hash-verified

76 self.obj = obj
77
78 def __getattribute__(self,key):
79 if key == '__doc__':
80 return DocTestSkip.ds_skip
81 else:
82 return getattr(object.__getattribute__(self,'obj'),key)
83
84# Modified version of the one in the stdlib, that fixes a python bug (doctests
85# not found in extension modules, http://bugs.python.org/issue3158)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected