Skip to content

Commit 5a27e9e

Browse files
committed
MAINT: remove un-reachable codepath.
Removes conditional after a return statement.
1 parent 0a574ea commit 5a27e9e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

numpydoc/docscrape_sphinx.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ def _str_indent(self, doc, indent=4):
5252

5353
def _str_signature(self):
5454
return ['']
55-
if self['Signature']:
56-
return ['``%s``' % self['Signature']] + ['']
57-
else:
58-
return ['']
5955

6056
def _str_summary(self):
6157
return self['Summary'] + ['']

0 commit comments

Comments
 (0)