Change byte to explict class instead of newtype
This commit is contained in:
parent
82e7392b17
commit
108410d862
|
@ -45,7 +45,8 @@ class uint8(uint):
|
||||||
|
|
||||||
|
|
||||||
# Alias for uint8
|
# Alias for uint8
|
||||||
byte = NewType('byte', uint8)
|
class byte(uint8):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class uint16(uint):
|
class uint16(uint):
|
||||||
|
|
Loading…
Reference in New Issue