From 1ab25e4dad6ebe2a8d8786239e6496ce6716cf26 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 24 Jul 2015 02:45:34 +0200 Subject: [PATCH] * Fix python3 type error --- spacy/serialize/bits.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/serialize/bits.pyx b/spacy/serialize/bits.pyx index bd1058962..b062104ad 100644 --- a/spacy/serialize/bits.pyx +++ b/spacy/serialize/bits.pyx @@ -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 += self.byte self.byte = 0 self.bit_of_byte = 0 self.i += 1