From b43d26965b05df357166fbef55b91e3317b5183a Mon Sep 17 00:00:00 2001 From: Kevin Deldycke Date: Mon, 2 May 2016 16:54:48 +0200 Subject: PEP8 fixes --- doc/example.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/example.py') 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" -- cgit v1.2.1