mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-29 15:43:21 +08:00
pipes.quote takes AnyStr (#4173)
This commit is contained in:
1 parent
bd35cd6bf8
commit
3438cb92e1
1 file changed
+2
-2
+2
-2
@@ -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: ...
|
||||
Reference in new issue
Block a user