mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Add stubs for CGIHTTPServer (#3196)
This commit adds: * Stubs for CGIHTTPServer in the Python 2 standard library, as requested in #1147. * Stubs for six.moves.CGIHTTPServer in Python 2, as requested in #22.
This commit is contained in:
committed by
Sebastian Rittau
parent
b2cd972b17
commit
d5a918de7b
8
stdlib/2/CGIHTTPServer.pyi
Normal file
8
stdlib/2/CGIHTTPServer.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
# Stubs for CGIHTTPServer (Python 2.7)
|
||||
|
||||
from typing import List
|
||||
import SimpleHTTPServer
|
||||
|
||||
class CGIHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
|
||||
cgi_directories: List[str]
|
||||
def do_POST(self) -> None: ...
|
||||
Reference in New Issue
Block a user