From 3c49b1def4926216ce158503a038f4f43cde316d Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sun, 2 May 2021 06:33:29 -0700 Subject: [PATCH] xxlimited: yes, even you get updated for py310 (#5301) --- stdlib/xxlimited.pyi | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/stdlib/xxlimited.pyi b/stdlib/xxlimited.pyi index e47694586..0dddbb876 100644 --- a/stdlib/xxlimited.pyi +++ b/stdlib/xxlimited.pyi @@ -1,13 +1,18 @@ +import sys 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: ... + +if sys.version_info >= (3, 10): + class Error: ... + +else: + class error: ... + class Null: ... + def roj(__b: Any) -> None: ...