Merge pull request #237 from BioGeek/patch-1

Update docs/writing/style.rst
This commit is contained in:
Kenneth Reitz
2013-01-25 13:09:17 -08:00
+1 -1
View File
@@ -286,7 +286,7 @@ will not need that variable, use ``__``:
.. code-block:: python
filename = 'foobar.txt'
basename, __, ext = filename.rpartition()
basename, __, ext = filename.rpartition('.')
.. note::