From: Martin v. Löwis Date: Thu, 7 Jun 2001 05:49:05 +0000 (+0000) Subject: Patch #416220: Fix misplaced paren. X-Git-Tag: v2.2a3~1606 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=22adac50cb00047321d4c5395eb831a9f724e714;p=thirdparty%2FPython%2Fcpython.git Patch #416220: Fix misplaced paren. --- diff --git a/Lib/pstats.py b/Lib/pstats.py index b46727d50bda..c1183f9d584b 100644 --- a/Lib/pstats.py +++ b/Lib/pstats.py @@ -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." diff --git a/Lib/xml/sax/xmlreader.py b/Lib/xml/sax/xmlreader.py index f1c9d9db2ed2..6c7b77ed50f0 100644 --- a/Lib/xml/sax/xmlreader.py +++ b/Lib/xml/sax/xmlreader.py @@ -2,9 +2,7 @@ should be based on this code. """ import handler - -from _exceptions import SAXNotSupportedException, SAXNotRecognizedException - +from _exceptions import * # ===== XMLREADER =====