From 3438cb92e10ce53415dd68a53b8c4d67068f9dde Mon Sep 17 00:00:00 2001 From: Dakkaron Date: Thu, 4 Jun 2020 12:37:57 +0200 Subject: [PATCH] pipes.quote takes AnyStr (#4173) --- stdlib/2/pipes.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/2/pipes.pyi b/stdlib/2/pipes.pyi index d5f5291e3..e25ef3ad9 100644 --- a/stdlib/2/pipes.pyi +++ b/stdlib/2/pipes.pyi @@ -1,4 +1,4 @@ -from typing import Any, IO +from typing import Any, IO, AnyStr class Template: def __init__(self) -> None: ... @@ -10,4 +10,4 @@ class Template: def open(self, file: str, mode: str) -> IO[Any]: ... def copy(self, infile: str, outfile: str) -> None: ... -def quote(s: str) -> str: ... +def quote(s: AnyStr) -> AnyStr: ...