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:
Bouteillebleu authored and Sebastian Rittau committed 2019-08-19 15:34:29 +02:00
1 parent b2cd972b17
commit d5a918de7b
3 files changed
+10 -1

No files matched your search

+8
View 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: ...