* Add type declarations in strings.pyx

This commit is contained in:
Matthew Honnibal 2015-11-06 00:47:26 +11:00
parent 5b2af4864f
commit 72abbb43fb
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ cdef class StringStore:
cdef bytes byte_string
cdef unicode py_string
cdef const Utf8Str* utf8str
cdef int id_
if isinstance(string_or_id, int) or isinstance(string_or_id, long):
if string_or_id == 0: