* Fix python3 type error

This commit is contained in:
Matthew Honnibal 2015-07-24 02:45:34 +02:00
parent 35a9fb437f
commit 1ab25e4dad
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ cdef class BitArray:
self.byte &= ~(one << self.bit_of_byte)
self.bit_of_byte += 1
if self.bit_of_byte == 8:
self.data += chr(self.byte)
self.data += <bytes>self.byte
self.byte = 0
self.bit_of_byte = 0
self.i += 1