mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
pipes.quote takes AnyStr (#4173)
This commit is contained in:
@@ -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