Skip to content

Commit 305ffd5

Browse files
committed
Fix cdef declaration for cython 3
1 parent 6d386bf commit 305ffd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spacy/tokens/token.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ from .doc cimport Doc
1111
from ..errors import Errors
1212

1313

14-
cdef int MISSING_DEP = 0
14+
cdef const int MISSING_DEP = 0
1515

1616
cdef class Token:
1717
cdef readonly Vocab vocab

0 commit comments

Comments
 (0)