git://git.eng.unimelb.edu.au
/
python-guide.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f53bc9
)
remove slashes in code sample in style guide
author
Thomas Ballinger
<thomasballinger@gmail.com>
Thu, 5 Jul 2012 18:41:21 +0000
(14:41 -0400)
committer
Thomas Ballinger
<thomasballinger@gmail.com>
Thu, 5 Jul 2012 18:55:00 +0000
(14:55 -0400)
docs/writing/style.rst
patch
|
blob
|
history
diff --git
a/docs/writing/style.rst
b/docs/writing/style.rst
index
462ffba
..
b8e2199
100644
(file)
--- a/
docs/writing/style.rst
+++ b/
docs/writing/style.rst
@@
-30,9
+30,9
@@
most explicit and straightforward manner is preferred.
.. code-block:: python
- def make_complex(
\
*args):
+ def make_complex(*args):
x, y = args
- return dict(
\
**locals())
+ return dict(**locals())
**Good**