diff --git a/construct-stubs/lib/containers.pyi b/construct-stubs/lib/containers.pyi index 7dd34e3..a50033a 100644 --- a/construct-stubs/lib/containers.pyi +++ b/construct-stubs/lib/containers.pyi @@ -6,9 +6,23 @@ ListType = t.TypeVar("ListType") SearchPattern = t.Union[t.AnyStr, re.Pattern[t.AnyStr]] +globalPrintFullStrings: bool +globalPrintFalseFlags: bool +globalPrintPrivateEntries: bool + +def setGlobalPrintFullStrings(enabled: bool = ...) -> None: ... +def setGlobalPrintFalseFlags(enabled: bool = ...) -> None: ... +def setGlobalPrintPrivateEntries(enabled: bool = ...) -> None: ... +def recursion_lock( + retval: str = ..., lock_name: str = ... +) -> t.Callable[[t.Callable[..., str]], t.Callable[..., str]]: ... + class Container(t.Generic[ContainerType], t.Dict[str, ContainerType]): def __getattr__(self, name: str) -> ContainerType: ... - def update(self, seqordict: t.Union[t.Dict[str, ContainerType], t.Tuple[str, ContainerType]]) -> None: ... + def update( + self, + seqordict: t.Union[t.Dict[str, ContainerType], t.Tuple[str, ContainerType]], + ) -> None: ... def search(self, pattern: SearchPattern[t.Any]) -> t.Any: ... def search_all(self, pattern: SearchPattern[t.Any]) -> t.Any: ...