diff options
author | Guido van Rossum <guido@python.org> | 2002-12-03 09:28:36 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-12-03 09:28:36 (GMT) |
commit | a1962d6efd3623219771fe86c75efd968e7de390 (patch) | |
tree | 41542560a7b7c591f1e6139196008c6b1a5e27fc /Tools/idle | |
parent | 0375079e934156491ffe04771d7f4470f391377e (diff) | |
download | cpython-a1962d6efd3623219771fe86c75efd968e7de390.zip cpython-a1962d6efd3623219771fe86c75efd968e7de390.tar.gz cpython-a1962d6efd3623219771fe86c75efd968e7de390.tar.bz2 |
Get rid of 1.5.2 compatibility hack. :-)
Diffstat (limited to 'Tools/idle')
-rw-r--r-- | Tools/idle/ClassBrowser.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Tools/idle/ClassBrowser.py b/Tools/idle/ClassBrowser.py index 6e4b2a3..338836a 100644 --- a/Tools/idle/ClassBrowser.py +++ b/Tools/idle/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 |