Merge pull request #205 from hrldcpr/master

consistent use of double-underscore for throwaway variable
This commit is contained in:
Kenneth Reitz
2012-11-15 17:23:06 -08:00
+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.::