summaryrefslogtreecommitdiff
path: root/numpy/doc/example.py
diff options
context:
space:
mode:
authorRobert Kern <robert.kern@gmail.com>2008-01-22 06:31:01 +0000
committerRobert Kern <robert.kern@gmail.com>2008-01-22 06:31:01 +0000
commitd1c740cf51aacd08c10f18582b66a4856f131f55 (patch)
tree6b6115064144d3fcde0531bf5f6c4b2fe1aada1a /numpy/doc/example.py
parent7e4b1515b93fb557298bf65566504e5b6f6b9268 (diff)
downloadnumpy-d1c740cf51aacd08c10f18582b66a4856f131f55.tar.gz
Set __docformat__ such that epydoc knows it's looking at reST instead of epytext.
Diffstat (limited to 'numpy/doc/example.py')
-rw-r--r--numpy/doc/example.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/doc/example.py b/numpy/doc/example.py
index 0ae83d2bb..32a7e6602 100644
--- a/numpy/doc/example.py
+++ b/numpy/doc/example.py
@@ -8,6 +8,9 @@ extend over multiple lines, the closing three quotation marks must be on
a line by itself, preferably preceeded by a blank line.
"""
+# Make sure this line is here such that epydoc 3 can parse the docstrings for
+# auto-generated documentation.
+__docformat__ = "restructuredtext en"
import os # standard library imports first