diff --git a/nepattern/core.pyi b/nepattern/core.pyi index 2e5635a..95df358 100644 --- a/nepattern/core.pyi +++ b/nepattern/core.pyi @@ -120,6 +120,7 @@ class BasePattern(Generic[TOrigin, TInput, TMM]): origin: type[TOrigin] alias: str | None previous: BasePattern | None + accept: Callable[[Any], bool] _repr: str _hash: int _accepts: type[Any] | tuple[type[Any], ...] diff --git a/pyproject.toml b/pyproject.toml index 34310c6..280f0d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nepattern" -version = "0.7.4" +version = "0.7.5" description = "a complex pattern, support typing" authors = [ {name = "RF-Tar-Railt", email = "rf_tar_railt@qq.com"},