summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-12-03 09:28:36 (GMT)
committerGuido van Rossum <guido@python.org>2002-12-03 09:28:36 (GMT)
commita1962d6efd3623219771fe86c75efd968e7de390 (patch)
tree41542560a7b7c591f1e6139196008c6b1a5e27fc /Lib
parent0375079e934156491ffe04771d7f4470f391377e (diff)
downloadcpython-a1962d6efd3623219771fe86c75efd968e7de390.zip
cpython-a1962d6efd3623219771fe86c75efd968e7de390.tar.gz
cpython-a1962d6efd3623219771fe86c75efd968e7de390.tar.bz2
Get rid of 1.5.2 compatibility hack. :-)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/ClassBrowser.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/idlelib/ClassBrowser.py b/Lib/idlelib/ClassBrowser.py
index 6e4b2a3..338836a 100644
--- a/Lib/idlelib/ClassBrowser.py
+++ b/Lib/idlelib/ClassBrowser.py
@@ -14,14 +14,6 @@ import os
import sys
import pyclbr
-# XXX Patch pyclbr with dummies if it's vintage Python 1.5.2:
-if not hasattr(pyclbr, "readmodule_ex"):
- pyclbr.readmodule_ex = pyclbr.readmodule
-if not hasattr(pyclbr, "Function"):
- class Function(pyclbr.Class):
- pass
- pyclbr.Function = Function
-
import PyShell
from WindowList import ListedToplevel
from TreeWidget import TreeNode, TreeItem, ScrolledCanvas