Add DOCBIN_ALL_ATTRS type definition

This commit is contained in:
Daniël de Kok 2023-06-13 10:26:00 +02:00
parent 866d57342a
commit 0969d902b0

View File

@ -25,6 +25,8 @@ from .span import Span
from .token import Token
from .underscore import Underscore
DOCBIN_ALL_ATTRS: Tuple[str, ...]
class DocMethod(Protocol):
def __call__(self: Doc, *args: Any, **kwargs: Any) -> Any: ... # type: ignore[misc]