* Fix bits.pyx unicode error

This commit is contained in:
Matthew Honnibal 2015-07-23 20:37:57 +02:00
parent 1406e24327
commit f35ff173b0
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ cdef class BitArray:
return output
def as_bytes(self):
cdef unsigned char byte
cdef unsigned char byte_char
if self.bit_of_byte != 0:
byte = chr(self.byte)
# Jump through some hoops for Python3