diff options
author | Thomas Heller <theller@ctypes.org> | 2008-03-05 15:34:29 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2008-03-05 15:34:29 (GMT) |
commit | f3c0559b5e164e112d408c30e41ac2f2b06c2c85 (patch) | |
tree | 94b533057dd3841925b256ad7564f715307245a7 /Lib/ctypes | |
parent | 78b8f4458d2189cc6c26874eec19c19a6df7ed06 (diff) | |
download | cpython-f3c0559b5e164e112d408c30e41ac2f2b06c2c85.zip cpython-f3c0559b5e164e112d408c30e41ac2f2b06c2c85.tar.gz cpython-f3c0559b5e164e112d408c30e41ac2f2b06c2c85.tar.bz2 |
Issue 1872: Changed the struct module typecode from 't' to '?', for
compatibility with PEP3118.
Diffstat (limited to 'Lib/ctypes')
-rw-r--r-- | Lib/ctypes/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ctypes/__init__.py b/Lib/ctypes/__init__.py index b7b2a58..7cacdd2 100644 --- a/Lib/ctypes/__init__.py +++ b/Lib/ctypes/__init__.py @@ -240,7 +240,7 @@ c_voidp = c_void_p # backwards compatibility (to a bug) _check_size(c_void_p) class c_bool(_SimpleCData): - _type_ = "t" + _type_ = "?" # This cache maps types to pointers to them. _pointer_type_cache = {} |