diff options
author | Kevin Deldycke <kevin@deldycke.com> | 2016-05-02 16:54:48 +0200 |
---|---|---|
committer | Kevin Deldycke <kevin@deldycke.com> | 2016-05-02 16:54:48 +0200 |
commit | b43d26965b05df357166fbef55b91e3317b5183a (patch) | |
tree | 623da20ec6a55597596ae379d2d50a3c98660293 /doc/example.py | |
parent | ffb31122739950a0b1ef67d44539613661c9deac (diff) | |
download | python-numpy-b43d26965b05df357166fbef55b91e3317b5183a.tar.gz python-numpy-b43d26965b05df357166fbef55b91e3317b5183a.tar.bz2 python-numpy-b43d26965b05df357166fbef55b91e3317b5183a.zip |
PEP8 fixes
Diffstat (limited to 'doc/example.py')
-rw-r--r-- | doc/example.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/example.py b/doc/example.py index 5c891f64c..560775038 100644 --- a/doc/example.py +++ b/doc/example.py @@ -35,7 +35,7 @@ import matplotlib.pyplot as plt from my_module import my_func, other_func -def foo(var1, var2, long_var_name='hi') : +def foo(var1, var2, long_var_name='hi'): r"""A one-line summary that does not use variable names or the function name. @@ -111,7 +111,7 @@ def foo(var1, var2, long_var_name='hi') : These are written in doctest format, and should illustrate how to use the function. - >>> a=[1,2,3] + >>> a = [1, 2, 3] >>> print [x + 3 for x in a] [4, 5, 6] >>> print "a\n\nb" |