Pattern should be a forward reference

This commit is contained in:
Jan Petykiewicz 2023-10-23 10:24:49 -07:00
parent 7353617878
commit aefd79fb5d

View File

@ -50,7 +50,7 @@ class visitor_function_t(Protocol):
hierarchy: tuple[str | None, ...], hierarchy: tuple[str | None, ...],
memo: dict, memo: dict,
transform: NDArray[numpy.float64] | Literal[False], transform: NDArray[numpy.float64] | Literal[False],
) -> Pattern: ) -> 'Pattern':
... ...