]> granicus.if.org Git - python/commitdiff
Minor comment formatting.
authorSenthil Kumaran <orsenthil@gmail.com>
Tue, 22 Jun 2010 02:57:23 +0000 (02:57 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Tue, 22 Jun 2010 02:57:23 +0000 (02:57 +0000)
Doc/library/stdtypes.rst

index ad00c9a24d8c87e142a135503723d9d0aabf6062..a2682bb86d2eab962aa9c163e23e839eeaba77bf 100644 (file)
@@ -452,7 +452,7 @@ Additional Methods on Integer Types
     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