[Python-checkins] python/dist/src/Mac/Modules/help helpsupport.py,1.8,1.9

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Tue, 03 Dec 2002 15:40:52 -0800


Update of /cvsroot/python/python/dist/src/Mac/Modules/help
In directory sc8-pr-cvs1:/tmp/cvs-serv10318/help

Modified Files:
	helpsupport.py 
Log Message:
Added PEP253 support to most Carbon modules. This isn't complete yet:
some of the more compilcated cases (CF, Res) haven't been done yet. Also,
various types should inherit from each other (anything with an as_Resource
method should be a Resource subtype, the CF types should become one family).


Index: helpsupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/help/helpsupport.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** helpsupport.py	29 Nov 2002 23:40:43 -0000	1.8
--- helpsupport.py	3 Dec 2002 23:40:20 -0000	1.9
***************
*** 47,51 ****
  """
  
! class MyObjectDefinition(PEP252Mixin, GlobalObjectDefinition):
  	def outputCheckNewArg(self):
  		Output("if (itself == NULL) return PyMac_Error(resNotFound);")
--- 47,51 ----
  """
  
! class MyObjectDefinition(PEP253Mixin, GlobalObjectDefinition):
  	def outputCheckNewArg(self):
  		Output("if (itself == NULL) return PyMac_Error(resNotFound);")