mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-07 22:10:10 +08:00
[WebOb] Add cgi_FieldStorage.make_file on Python 3.13+ (#13654)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import sys
|
||||
from html import escape as escape
|
||||
from io import FileIO, TextIOWrapper
|
||||
from queue import Empty as Empty, Queue as Queue
|
||||
from typing import IO
|
||||
|
||||
@@ -8,6 +9,7 @@ if sys.version_info >= (3, 13):
|
||||
class cgi_FieldStorage:
|
||||
filename: str
|
||||
file: IO[bytes]
|
||||
def make_file(self) -> TextIOWrapper | FileIO: ...
|
||||
|
||||
def parse_header(line: str) -> tuple[str, dict[str, str]]: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user