From 5ba7254555fc4e9012a2f0f208d59584b8edd416 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sun, 28 Nov 2021 01:43:46 -0800 Subject: [PATCH] locale: fix positional-only args (#6413) --- stdlib/locale.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/locale.pyi b/stdlib/locale.pyi index 1f80c8a62..c6289f27d 100644 --- a/stdlib/locale.pyi +++ b/stdlib/locale.pyi @@ -87,8 +87,8 @@ def getlocale(category: int = ...) -> Sequence[_str]: ... def getpreferredencoding(do_setlocale: bool = ...) -> _str: ... def normalize(localename: _str) -> _str: ... def resetlocale(category: int = ...) -> None: ... -def strcoll(string1: _str, string2: _str) -> int: ... -def strxfrm(string: _str) -> _str: ... +def strcoll(__os1: _str, __os2: _str) -> int: ... +def strxfrm(__string: _str) -> _str: ... def format(percent: _str, value: float | Decimal, grouping: bool = ..., monetary: bool = ..., *additional: Any) -> _str: ... if sys.version_info >= (3, 7):