Fix the builtin docstring issue that we've had. Fixes #859.
This commit is contained in:
1 parent
47c1b8fa07
commit
632072000e
2 files changed
+12
No files matched your search
@@ -701,6 +701,12 @@ class _Help(object):
|
||||
|
||||
@memoize_method
|
||||
def _get_node(self, fast):
|
||||
if isinstance(self._name, (compiled.CompiledContextName, compiled.CompiledName)):
|
||||
followed = self._name.infer()
|
||||
if followed:
|
||||
return next(iter(followed))
|
||||
return None
|
||||
|
||||
if self._name.api_type == 'module' and not fast:
|
||||
followed = self._name.infer()
|
||||
if followed:
|
||||
|
||||
Reference in new issue
Block a user