From e920b2fc08ca70cbb86c372310acdd4a088af1e1 Mon Sep 17 00:00:00 2001 From: Tim Rid <6593626+timrid@users.noreply.github.com> Date: Sat, 12 Dec 2020 14:08:57 +0100 Subject: [PATCH] added stubs for StopIf --- construct-stubs/core.pyi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/construct-stubs/core.pyi b/construct-stubs/core.pyi index c87d02a..f6ab51b 100644 --- a/construct-stubs/core.pyi +++ b/construct-stubs/core.pyi @@ -507,6 +507,10 @@ def Switch( default: t.Optional[Construct[t.Any, t.Any]] = ... ) -> _Switch[t.Any, t.Any]: ... + +class StopIf(Construct[None, None]): + def __init__(self, condfunc: ConstantOrContextLambda[bool]) -> None: ... + #=============================================================================== # alignment and padding #===============================================================================