Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions stdlib/2/CGIHTTPServer.pyi
Original file line number Diff line number Diff line change
@@ -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: ...
1 change: 1 addition & 0 deletions third_party/2/six/moves/CGIHTTPServer.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from CGIHTTPServer import *
2 changes: 1 addition & 1 deletion third_party/2/six/moves/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ from . import http_client
from . import email_mime_text
# import email.MIMEBase as email_mime_base
from . import BaseHTTPServer
# import CGIHTTPServer as CGIHTTPServer
from . import CGIHTTPServer
from . import SimpleHTTPServer
from . import cPickle
from . import queue
Expand Down