git://git.eng.unimelb.edu.au
/
python-guide.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
9f53bc9
)
Merge pull request #184 from thomasballinger/remove-apparently-unnecessary-escapes
author
Kenneth Reitz
<me@kennethreitz.com>
Thu, 5 Jul 2012 21:50:31 +0000
(14:50 -0700)
committer
Kenneth Reitz
<me@kennethreitz.com>
Thu, 5 Jul 2012 21:50:31 +0000
(14:50 -0700)
remove slashes in code sample in style guide
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**