[Python-checkins] r82148 - python/branches/py3k/Doc/library/stdtypes.rst

senthil.kumaran python-checkins at python.org
Tue Jun 22 04:57:23 CEST 2010


Author: senthil.kumaran
Date: Tue Jun 22 04:57:23 2010
New Revision: 82148

Log:
Minor comment formatting.



Modified:
   python/branches/py3k/Doc/library/stdtypes.rst

Modified: python/branches/py3k/Doc/library/stdtypes.rst
==============================================================================
--- python/branches/py3k/Doc/library/stdtypes.rst	(original)
+++ python/branches/py3k/Doc/library/stdtypes.rst	Tue Jun 22 04:57:23 2010
@@ -452,7 +452,7 @@
     Equivalent to::
 
         def bit_length(self):
-            s = bin(self)          # binary representation:  bin(-37) --> '-0b100101'
+            s = bin(self)       # binary representation:  bin(-37) --> '-0b100101'
             s = s.lstrip('-0b') # remove leading zeros and minus sign
             return len(s)       # len('100101') --> 6
 


More information about the Python-checkins mailing list