diff options
author | Pauli Virtanen <pav@iki.fi> | 2010-09-01 23:22:30 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2010-09-01 23:22:30 +0000 |
commit | 4f74a4900a5d396b5f79b4a1ee75f4a32892d0f7 (patch) | |
tree | 4beafa8ea5636992db96d8d57b90676ccc1ddd5c /doc/sphinxext/docscrape.py | |
parent | 362f9cb8a640eee85b9b2e929bf9444b14ffb10b (diff) | |
download | numpy-4f74a4900a5d396b5f79b4a1ee75f4a32892d0f7.tar.gz |
sphinxext: more lenient parsing for See Also sections
Diffstat (limited to 'doc/sphinxext/docscrape.py')
-rw-r--r-- | doc/sphinxext/docscrape.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/sphinxext/docscrape.py b/doc/sphinxext/docscrape.py index ad5998cc6..63fec42ad 100644 --- a/doc/sphinxext/docscrape.py +++ b/doc/sphinxext/docscrape.py @@ -232,7 +232,8 @@ class NumpyDocString(object): current_func = None if ',' in line: for func in line.split(','): - push_item(func, []) + if func.strip(): + push_item(func, []) elif line.strip(): current_func = line elif current_func is not None: |