mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
* Fix python3 type error
This commit is contained in:
parent
35a9fb437f
commit
1ab25e4dad
|
@ -115,7 +115,7 @@ cdef class BitArray:
|
||||||
self.byte &= ~(one << self.bit_of_byte)
|
self.byte &= ~(one << self.bit_of_byte)
|
||||||
self.bit_of_byte += 1
|
self.bit_of_byte += 1
|
||||||
if self.bit_of_byte == 8:
|
if self.bit_of_byte == 8:
|
||||||
self.data += chr(self.byte)
|
self.data += <bytes>self.byte
|
||||||
self.byte = 0
|
self.byte = 0
|
||||||
self.bit_of_byte = 0
|
self.bit_of_byte = 0
|
||||||
self.i += 1
|
self.i += 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user