mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Get rid of 1.5.2 compatibility hack. :-)
This commit is contained in:
parent
0375079e93
commit
a1962d6efd
2 changed files with 0 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue