From 22adac50cb00047321d4c5395eb831a9f724e714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Thu, 7 Jun 2001 05:49:05 +0000 Subject: [PATCH] Patch #416220: Fix misplaced paren. --- Lib/pstats.py | 2 +- Lib/xml/sax/xmlreader.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Lib/pstats.py b/Lib/pstats.py index b46727d50bd..c1183f9d584 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 f1c9d9db2ed..6c7b77ed50f 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 =====