-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Source commit: python/typeshed@8e0e13a Co-authored-by: hauntsaninja <>
- Loading branch information
1 parent
56b6803
commit 3f8ada0
Showing
598 changed files
with
9,364 additions
and
10,148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import BaseHTTPServer | ||
from StringIO import StringIO | ||
from typing import IO, Any, AnyStr, Mapping, Optional, Union | ||
from typing import IO, Any, AnyStr, Mapping | ||
|
||
class SimpleHTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): | ||
server_version: str | ||
def do_GET(self) -> None: ... | ||
def do_HEAD(self) -> None: ... | ||
def send_head(self) -> Optional[IO[str]]: ... | ||
def list_directory(self, path: Union[str, unicode]) -> Optional[StringIO[Any]]: ... | ||
def send_head(self) -> IO[str] | None: ... | ||
def list_directory(self, path: str | unicode) -> StringIO[Any] | None: ... | ||
def translate_path(self, path: AnyStr) -> AnyStr: ... | ||
def copyfile(self, source: IO[AnyStr], outputfile: IO[AnyStr]): ... | ||
def guess_type(self, path: Union[str, unicode]) -> str: ... | ||
def guess_type(self, path: str | unicode) -> str: ... | ||
extensions_map: Mapping[str, str] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.