use double-underscore for temporary variable, as encouraged elsewhere in this file

This commit is contained in:
Harold Cooper
2012-10-07 12:41:50 -07:00
parent d146ab7958
commit 0d4865ed66
+1 -1
View File
@@ -321,7 +321,7 @@ Instead, use a list comprehension:
.. code-block:: python
four_lists = [[] for _ in xrange(4)]
four_lists = [[] for __ in xrange(4)]
A common idiom for creating strings is to use `join <http://docs.python.org/library/string.html#string.join>`_ on an empty string.::