From 5802e889c7dc6283461a4504286dd3b0463c9a63 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Wed, 2 Mar 2022 11:20:45 +0100 Subject: [PATCH] Correct str.__new__ argument name (#7422) --- stdlib/builtins.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/builtins.pyi b/stdlib/builtins.pyi index 23779ad4e..87623557d 100644 --- a/stdlib/builtins.pyi +++ b/stdlib/builtins.pyi @@ -366,7 +366,7 @@ class str(Sequence[str]): @overload def __new__(cls: type[Self], object: object = ...) -> Self: ... @overload - def __new__(cls: type[Self], o: bytes, encoding: str = ..., errors: str = ...) -> Self: ... + def __new__(cls: type[Self], object: bytes, encoding: str = ..., errors: str = ...) -> Self: ... def capitalize(self) -> str: ... def casefold(self) -> str: ... def center(self, __width: SupportsIndex, __fillchar: str = ...) -> str: ...