From 65603f829f2a826add3e55100cc8c9acfbd4d065 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sun, 1 Nov 2020 12:54:17 -0800 Subject: [PATCH] xxlimited: add stubs (#4736) --- stdlib/3/xxlimited.pyi | 13 +++++++++++++ tests/stubtest_whitelists/win32.txt | 1 + 2 files changed, 14 insertions(+) create mode 100644 stdlib/3/xxlimited.pyi diff --git a/stdlib/3/xxlimited.pyi b/stdlib/3/xxlimited.pyi new file mode 100644 index 000000000..e47694586 --- /dev/null +++ b/stdlib/3/xxlimited.pyi @@ -0,0 +1,13 @@ +from typing import Any + +class Null: ... +class Str: ... + +class Xxo: + def demo(self) -> None: ... + +class error: ... + +def foo(__i: int, __j: int) -> Any: ... +def new() -> Xxo: ... +def roj(__b: Any) -> None: ... diff --git a/tests/stubtest_whitelists/win32.txt b/tests/stubtest_whitelists/win32.txt index 811ba83bd..c61df1aa4 100644 --- a/tests/stubtest_whitelists/win32.txt +++ b/tests/stubtest_whitelists/win32.txt @@ -28,6 +28,7 @@ resource spwd syslog termios +xxlimited # Modules that rely on _curses curses