[Python-checkins] python/dist/src/Mac/Modules/drag dragscan.py,1.5,1.6
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Thu, 15 Aug 2002 15:06:00 -0700
Update of /cvsroot/python/python/dist/src/Mac/Modules/drag
In directory usw-pr-cvs1:/tmp/cvs-serv7639/drag
Modified Files:
dragscan.py
Log Message:
Fixed the bugs in the constant definitions, and in the code to test
them.
The FutureWarnings are still there, until a way has been found to
say "I know what I'm doing here when I say 0xff000000".
Index: dragscan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/drag/dragscan.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** dragscan.py 15 Aug 2002 21:48:13 -0000 1.5
--- dragscan.py 15 Aug 2002 22:05:58 -0000 1.6
***************
*** 46,51 ****
def writeinitialdefs(self):
self.defsfile.write("def FOUR_CHAR_CODE(x): return x\n")
! self.defsfile.write("from TextEdit import *\n")
! self.defsfile.write("from QuickDraw import *\n")
self.defsfile.write("\n")
# Defines unparseable in Drag.h
--- 46,51 ----
def writeinitialdefs(self):
self.defsfile.write("def FOUR_CHAR_CODE(x): return x\n")
! self.defsfile.write("from Carbon.TextEdit import *\n")
! self.defsfile.write("from Carbon.QuickDraw import *\n")
self.defsfile.write("\n")
# Defines unparseable in Drag.h