Skip to content

Commit 0d4865e

Browse files
author
Harold Cooper
committed
use double-underscore for temporary variable, as encouraged elsewhere in this file
1 parent d146ab7 commit 0d4865e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/writing/style.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ Instead, use a list comprehension:
321321

322322
.. code-block:: python
323323
324-
four_lists = [[] for _ in xrange(4)]
324+
four_lists = [[] for __ in xrange(4)]
325325
326326
327327
A common idiom for creating strings is to use `join <http://docs.python.org/library/string.html#string.join>`_ on an empty string.::

0 commit comments

Comments
 (0)