summaryrefslogtreecommitdiff
path: root/doc/cdoc
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-04-02 13:47:32 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-04-02 14:55:09 -0600
commit4394515cd5632a7f110993ff75033d407d10861d (patch)
treea70b956408b3d2287b964e524b44a276b9f15eb8 /doc/cdoc
parent09a52ed47bb26498c97a579ce1147861df696d84 (diff)
downloadnumpy-4394515cd5632a7f110993ff75033d407d10861d.tar.gz
BUG: Fix stray '.' in import statement.
There was a stray period at the end of an import statement in `doc/cdoc/numpyfilter.py`. Looks like a cut and paste error that was fixed elsewhere but escaped there because the module isn't tested. A search shows that this was the only spot in which the error was still present.
Diffstat (limited to 'doc/cdoc')
-rwxr-xr-xdoc/cdoc/numpyfilter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/cdoc/numpyfilter.py b/doc/cdoc/numpyfilter.py
index 7137df2d2..d5021f92a 100755
--- a/doc/cdoc/numpyfilter.py
+++ b/doc/cdoc/numpyfilter.py
@@ -17,7 +17,7 @@ import optparse
if sys.version_info[0] >= 3:
import pickle
else:
- import cPickle as pickle.
+ import cPickle as pickle
CACHE_FILE = 'build/rst-cache.pck'
@@ -47,7 +47,7 @@ def filter_comment(text):
if text.startswith('UFUNC_API'):
text = text[9:].strip()
- html = render_html(text)
+ html = render_html(text)
return html
def process_match(m, cache=None):