mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-10 02:19:18 +08:00
Deprecate CGIHTTPRequestHandler (#13658)
This commit is contained in:
@@ -6,6 +6,7 @@ import sys
|
||||
from _typeshed import StrPath, SupportsRead, SupportsWrite
|
||||
from collections.abc import Mapping, Sequence
|
||||
from typing import Any, AnyStr, BinaryIO, ClassVar
|
||||
from typing_extensions import deprecated
|
||||
|
||||
__all__ = ["HTTPServer", "ThreadingHTTPServer", "BaseHTTPRequestHandler", "SimpleHTTPRequestHandler", "CGIHTTPRequestHandler"]
|
||||
|
||||
@@ -72,7 +73,7 @@ class SimpleHTTPRequestHandler(BaseHTTPRequestHandler):
|
||||
def guess_type(self, path: StrPath) -> str: ... # undocumented
|
||||
|
||||
def executable(path: StrPath) -> bool: ... # undocumented
|
||||
|
||||
@deprecated("Deprecated in Python 3.13; removal scheduled for Python 3.15")
|
||||
class CGIHTTPRequestHandler(SimpleHTTPRequestHandler):
|
||||
cgi_directories: list[str]
|
||||
have_fork: bool # undocumented
|
||||
|
||||
Reference in New Issue
Block a user