[Python-checkins] cpython: Use correct C type in byte_converter.

serhiy.storchaka python-checkins at python.org
Sat Jan 18 23:38:47 CET 2014


http://hg.python.org/cpython/rev/967f368b7f75
changeset:   88560:967f368b7f75
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Sun Jan 19 00:38:36 2014 +0200
summary:
  Use correct C type in byte_converter.

files:
  Tools/clinic/clinic.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py
--- a/Tools/clinic/clinic.py
+++ b/Tools/clinic/clinic.py
@@ -2062,7 +2062,7 @@
 
 @add_legacy_c_converter('B', bitwise=True)
 class byte_converter(CConverter):
-    type = 'byte'
+    type = 'unsigned char'
     default_type = int
     format_unit = 'b'
     c_ignored_default = "'\0'"

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list