Get rid of 1.5.2 compatibility hack. :-)

This commit is contained in:
Guido van Rossum 2002-12-03 09:28:36 +00:00
parent 0375079e93
commit a1962d6efd
2 changed files with 0 additions and 16 deletions

View file

@ -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