[pywin32-checkins] pywin32/Pythonwin/pywin/tools browser.py,1.6,1.7
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
|
From: Mark H. <mha...@us...> - 2004-10-07 08:52:49
|
Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20298 Modified Files: browser.py Log Message: [ 992182 ] pywin.tools.browser and objects without __class__ Index: browser.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/tools/browser.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** browser.py 9 Apr 2004 11:33:50 -0000 1.6 --- browser.py 7 Oct 2004 08:51:36 -0000 1.7 *************** *** 277,281 **** cls = TypeMap[type(ob)] except KeyError: ! if isinstance(ob, object): # 'new style' class cls = HLIInstance else: --- 277,281 ---- cls = TypeMap[type(ob)] except KeyError: ! if hasattr(ob, '__class__'): # 'new style' class cls = HLIInstance else: |