Make the default python-type for Chars an int rather than a bytes.

This commit is contained in:
Mike Auty
2019-02-06 21:06:12 +00:00
parent 0a13942cd7
commit 9b488f89fd
+2 -2
View File
@@ -173,9 +173,9 @@ class Float(PrimitiveObject, float):
_struct_type = float # type: ClassVar[Type]
class Char(PrimitiveObject, bytes):
class Char(PrimitiveObject, int):
"""Primitive Object that handles characters"""
_struct_type = bytes # type: ClassVar[Type]
_struct_type = int # type: ClassVar[Type]
class Bytes(PrimitiveObject, bytes):