]> granicus.if.org Git - python/commitdiff
Issue16097 Fix small typo in comment (patch by Wael Al Jishi)
authorTim Golden <mail@timgolden.me.uk>
Mon, 1 Oct 2012 15:40:40 +0000 (16:40 +0100)
committerTim Golden <mail@timgolden.me.uk>
Mon, 1 Oct 2012 15:40:40 +0000 (16:40 +0100)
Lib/codecs.py

index 9901d5c66274a6d1389934079d134aec8afd4b8e..48d4c9c73952ef448ba2c3bc0268e9d2da3903fe 100644 (file)
@@ -461,7 +461,7 @@ class StreamReader(Codec):
 
         # read until we get the required number of characters (if available)
         while True:
-            # can the request can be satisfied from the character buffer?
+            # can the request be satisfied from the character buffer?
             if chars < 0:
                 if size < 0:
                     if self.charbuffer: