diff Lib/pstats.py @ 18048:14dc75a5600a legacy-trunk

Patch #416220: Fix misplaced paren.
author Martin v. Löwis <martin@v.loewis.de>
date Thu, 07 Jun 2001 05:49:05 +0000
parents c19980c03e2d
children 6f301b3cf323
line wrap: on
line diff
--- a/Lib/pstats.py	Wed Jun 06 17:51:57 2001 +0000
+++ b/Lib/pstats.py	Thu Jun 07 05:49:05 2001 +0000
@@ -613,7 +613,7 @@
                     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."