This commit is contained in:
ines 2017-10-10 04:15:14 +02:00
parent 59c4f27499
commit 3fc4fe61d2

View File

@ -28,7 +28,7 @@ cdef class Token:
@classmethod @classmethod
def set_extension(cls, name, default=None, method=None, def set_extension(cls, name, default=None, method=None,
getter=None, setter=None): getter=None, setter=None):
Underscore.span_extensions[name] = (default, method, getter, setter) Underscore.token_extensions[name] = (default, method, getter, setter)
@classmethod @classmethod
def get_extension(cls, name): def get_extension(cls, name):