8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71d2a30 commit 832d2eeCopy full SHA for 832d2ee
numpydoc/docscrape.py
@@ -113,8 +113,8 @@ class NumpyDocString(collections.Mapping):
113
'See Also': [],
114
'Notes': [],
115
'Warnings': [],
116
- 'References': '',
117
- 'Examples': '',
+ 'References': [],
+ 'Examples': [],
118
'index': {}
119
}
120
@@ -348,8 +348,6 @@ def _parse(self):
348
existing_content = self.get(section, [])
349
if existing_content:
350
existing_content += ['']
351
- else:
352
- existing_content = []
353
self[section] = existing_content + content
354
355
# string conversion routines
0 commit comments