Switch reset value for set_morph to None

This commit is contained in:
Adriane Boyd 2020-10-02 08:25:15 +02:00
parent 568768643e
commit 77e08c398f

View File

@ -223,7 +223,7 @@ cdef class Token:
def set_morph(self, features):
cdef hash_t key
if features is 0:
if features is None:
self.c.morph = 0
else:
if isinstance(features, int):