[pywin32-checkins] pywin32/Pythonwin/pywin/framework/editor ModuleBrowser.py,1.6,1.7
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <mha...@us...> - 2003-11-03 05:35:58
|
Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework/editor In directory sc8-pr-cvs1:/tmp/cvs-serv21800 Modified Files: ModuleBrowser.py Log Message: Fix the module browser for later Python versions. Index: ModuleBrowser.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework/editor/ModuleBrowser.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ModuleBrowser.py 27 Feb 2003 23:20:43 -0000 1.6 --- ModuleBrowser.py 3 Nov 2003 05:35:55 -0000 1.7 *************** *** 53,66 **** class HierListCLBRClass(HierListCLBRItem): def __init__(self, clbrclass, suffix = ""): ! try: ! name = clbrclass.name ! file = clbrclass.file ! lineno = clbrclass.lineno ! self.super = clbrclass.super ! self.methods = clbrclass.methods ! except AttributeError: ! name = clbrclass ! file = lineno = None ! self.super = []; self.methods = {} HierListCLBRItem.__init__(self, name, file, lineno, suffix) def __cmp__(self,other): --- 53,61 ---- class HierListCLBRClass(HierListCLBRItem): def __init__(self, clbrclass, suffix = ""): ! name = clbrclass.name ! file = clbrclass.file ! lineno = clbrclass.lineno ! self.super = clbrclass.super ! self.methods = clbrclass.methods HierListCLBRItem.__init__(self, name, file, lineno, suffix) def __cmp__(self,other): *************** *** 86,90 **** return 21 ! class HierListCLBRFunction(HierListCLBRClass): def GetBitmapColumn(self): return 22 --- 81,90 ---- return 21 ! class HierListCLBRFunction(HierListCLBRItem): ! def __init__(self, clbrfunc, suffix = ""): ! name = clbrfunc.name ! file = clbrfunc.file ! lineno = clbrfunc.lineno ! HierListCLBRItem.__init__(self, name, file, lineno, suffix) def GetBitmapColumn(self): return 22 |