diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2019-11-23 07:40:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-23 07:40:59 -0800 |
commit | d76efa771b4915f4e3f5aa2023bb50e46c41b4bc (patch) | |
tree | f3625f42df57393bf8e08a9f67658252a7dd33b8 /doc/example.py | |
parent | 2f2fa20b95d1da4ea11fb78a8071787d626b39a3 (diff) | |
parent | dff3c1f90af9053128e6e241e1b5f19d858670f4 (diff) | |
download | numpy-d76efa771b4915f4e3f5aa2023bb50e46c41b4bc.tar.gz |
Merge pull request #14732 from mattip/refguide-rst
TST: run refguide-check on rst files in doc/*
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 560775038..8a5f9948f 100644 --- a/doc/example.py +++ b/doc/example.py @@ -112,9 +112,9 @@ def foo(var1, var2, long_var_name='hi'): use the function. >>> a = [1, 2, 3] - >>> print [x + 3 for x in a] + >>> print([x + 3 for x in a]) [4, 5, 6] - >>> print "a\n\nb" + >>> print("a\n\nb") a b |