]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Patch #416220: Fix misplaced paren.
authorMartin v. Löwis <martin@v.loewis.de>
Thu, 7 Jun 2001 05:49:05 +0000 (05:49 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Thu, 7 Jun 2001 05:49:05 +0000 (05:49 +0000)
Lib/pstats.py
Lib/xml/sax/xmlreader.py

index b46727d50bda50415090b5d0559df3c9a63b5fb1..c1183f9d584b7c2a8486516c081d6699c55f79c4 100644 (file)
@@ -613,7 +613,7 @@ if __name__ == '__main__':
                     print args[1]
                     return
                 self.prompt = line + "% "
-            elif len(self.prompt > 2):
+            elif len(self.prompt) > 2:
                 line = self.prompt[-2:]
             else:
                 print "No statistics object is current -- cannot reload."
index f1c9d9db2ed26a6abc9b9ee307a64fbcd86d7169..6c7b77ed50f093ff837416769e3ef4d35099e967 100644 (file)
@@ -2,9 +2,7 @@
 should be based on this code. """
 
 import handler
-
-from _exceptions import SAXNotSupportedException, SAXNotRecognizedException
-
+from _exceptions import *
 
 # ===== XMLREADER =====