From a1962d6efd3623219771fe86c75efd968e7de390 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 3 Dec 2002 09:28:36 +0000 Subject: Get rid of 1.5.2 compatibility hack. :-) --- Lib/idlelib/ClassBrowser.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'Lib/idlelib/ClassBrowser.py') diff --git a/Lib/idlelib/ClassBrowser.py b/Lib/idlelib/ClassBrowser.py index 6e4b2a32ee..338836a9fa 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 -- cgit v1.2.1