summaryrefslogtreecommitdiff
path: root/doc/example.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/example.py')
-rw-r--r--doc/example.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/doc/example.py b/doc/example.py
index 5c9d3d27e..03be59d18 100644
--- a/doc/example.py
+++ b/doc/example.py
@@ -8,7 +8,7 @@ extend over multiple lines, the closing three quotation marks must be on
a line by itself, preferably preceeded by a blank line.
"""
-from __future__ import division
+from __future__ import division, absolute_import, print_function
import os # standard library imports first
@@ -57,14 +57,12 @@ def foo(var1, var2, long_var_name='hi') :
Returns
-------
+ type
+ Explanation of anonymous return value of type ``type``.
describe : type
- Explanation
- output : type
- Explanation
- tuple : type
- Explanation
- items : type
- even more explaining
+ Explanation of return value named `describe`.
+ out : type
+ Explanation of `out`.
Other Parameters
----------------