[ctypes-commit] ctypes/comtypes __init__.py,1.25.2.16,1.25.2.17
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2005-07-28 11:07:18
|
Update of /cvsroot/ctypes/ctypes/comtypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21974 Modified Files: Tag: branch_1_0 __init__.py Log Message: Change a magic name. Index: __init__.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/comtypes/__init__.py,v retrieving revision 1.25.2.16 retrieving revision 1.25.2.17 diff -C2 -d -r1.25.2.16 -r1.25.2.17 *** __init__.py 28 Jul 2005 08:33:15 -0000 1.25.2.16 --- __init__.py 28 Jul 2005 11:06:54 -0000 1.25.2.17 *************** *** 584,588 **** # python iterator when called. Thanks to Bengt Richter for the # idea. ! def __getIter(self): try: enum = self._NewEnum --- 584,588 ---- # python iterator when called. Thanks to Bengt Richter for the # idea. ! def __iter__(self): try: enum = self._NewEnum *************** *** 590,594 **** raise AttributeError, "__iter__" return self.__make_iter ! __iter__ = property(__getIter) ################################################################ --- 590,594 ---- raise AttributeError, "__iter__" return self.__make_iter ! __iter__ = property(__iter__) ################################################################ |