mirror of https://github.com/explosion/spaCy.git
* Fix bits.pyx unicode error
This commit is contained in:
parent
1406e24327
commit
f35ff173b0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue