[Python-checkins] python/dist/src/Mac/Modules/scrap scrapsupport.py,1.7,1.8

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


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

Modified Files:
	scrapsupport.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: scrapsupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/scrap/scrapsupport.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** scrapsupport.py	29 Nov 2002 23:40:47 -0000	1.7
--- scrapsupport.py	3 Dec 2002 23:40:21 -0000	1.8
***************
*** 56,60 ****
  putscrapbuffer = FixedInputBufferType('void *')
  
! class MyObjectDefinition(PEP252Mixin, GlobalObjectDefinition):
  	pass
  
--- 56,60 ----
  putscrapbuffer = FixedInputBufferType('void *')
  
! class MyObjectDefinition(PEP253Mixin, GlobalObjectDefinition):
  	pass