diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-06-07 05:49:05 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-06-07 05:49:05 (GMT) |
commit | 22adac50cb00047321d4c5395eb831a9f724e714 (patch) | |
tree | 07b9ed640368b527a57c9268d87c3d52d208b8b6 /Lib | |
parent | 1d88c59f75711a0d20fdd9e0b63c9203748b1433 (diff) | |
download | cpython-22adac50cb00047321d4c5395eb831a9f724e714.zip cpython-22adac50cb00047321d4c5395eb831a9f724e714.tar.gz cpython-22adac50cb00047321d4c5395eb831a9f724e714.tar.bz2 |
Patch #416220: Fix misplaced paren.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/pstats.py | 2 | ||||
-rw-r--r-- | Lib/xml/sax/xmlreader.py | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/Lib/pstats.py b/Lib/pstats.py index b46727d..c1183f9 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 f1c9d9d..6c7b77e 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 ===== |