[Idle-dev] CVS: idle ClassBrowser.py,1.4,1.5

Guido van Rossum gvanrossum@users.sourceforge.net
Tue, 03 Dec 2002 01:28:14 -0800


Update of /cvsroot/idlefork/idle
In directory sc8-pr-cvs1:/tmp/cvs-serv27381

Modified Files:
	ClassBrowser.py 
Log Message:
Get rid of 1.5.2 compatibility hack. :-)


Index: ClassBrowser.py
===================================================================
RCS file: /cvsroot/idlefork/idle/ClassBrowser.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** ClassBrowser.py	15 Sep 2002 22:06:47 -0000	1.4
--- ClassBrowser.py	3 Dec 2002 09:28:11 -0000	1.5
***************
*** 15,26 ****
  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
--- 15,18 ----