[WebOb] Add cgi_FieldStorage.make_file on Python 3.13+ (#13654)

This commit is contained in:
Sebastian Rittau
2025-03-18 12:05:59 +01:00
committed by GitHub
parent e90c6f11dc
commit ec5246b359
+2
View File
@@ -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]]: ...