diff options
author | Guido van Rossum <guido@python.org> | 2007-07-27 04:41:00 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-07-27 04:41:00 (GMT) |
commit | f7a94e4b44f2e5d565864ac784071efb35569161 (patch) | |
tree | a999efa04b5fb726df2551ae8e57a4fe1a4064b7 /Lib/plat-mac/Carbon | |
parent | 67feb09d065aee7a125b226c0249c4db37a1f4f4 (diff) | |
download | cpython-f7a94e4b44f2e5d565864ac784071efb35569161.zip cpython-f7a94e4b44f2e5d565864ac784071efb35569161.tar.gz cpython-f7a94e4b44f2e5d565864ac784071efb35569161.tar.bz2 |
SF patch# 1761465 by Jeffrey Yasskin.
Fix test_aepack and test_applesingle.
Diffstat (limited to 'Lib/plat-mac/Carbon')
-rw-r--r-- | Lib/plat-mac/Carbon/AppleEvents.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-mac/Carbon/AppleEvents.py b/Lib/plat-mac/Carbon/AppleEvents.py index e23c079..33ee3b3 100644 --- a/Lib/plat-mac/Carbon/AppleEvents.py +++ b/Lib/plat-mac/Carbon/AppleEvents.py @@ -1,6 +1,6 @@ # Generated from 'AEDataModel.h' -def FOUR_CHAR_CODE(x): return x +def FOUR_CHAR_CODE(x): return bytes(x) typeBoolean = FOUR_CHAR_CODE('bool') typeChar = FOUR_CHAR_CODE('TEXT') typeSInt16 = FOUR_CHAR_CODE('shor') |