Skip to content

Commit e11e10c

Browse files
authored
Merge pull request #93 from jschueller/patch-2
Fix regression in #81
2 parents 6df5c12 + 7d7f11c commit e11e10c

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

numpydoc/docscrape_sphinx.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,6 @@ def _str_member_list(self, name):
137137
others.append((param, param_type, desc))
138138

139139
if autosum:
140-
out += ['.. currentmodule:: '
141-
+ self._obj.__module__ + '.' + self._obj.__name__]
142-
out += []
143140
out += ['.. autosummary::']
144141
if self.class_members_toctree:
145142
out += [' :toctree:']

numpydoc/tests/test_docscrape.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,8 +904,6 @@ def x(self):
904904
905905
.. rubric:: Attributes
906906
907-
.. currentmodule:: test_docscrape.Foo
908-
909907
.. autosummary::
910908
:toctree:
911909

0 commit comments

Comments
 (0)