mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Fixup the boto stubs to allow mypy --strict. (#2032)
This commit is contained in:
committed by
Jelle Zijlstra
parent
8482b1030b
commit
a994c47198
9
third_party/2and3/boto/compat.pyi
vendored
9
third_party/2and3/boto/compat.pyi
vendored
@@ -1,10 +1,17 @@
|
||||
import sys
|
||||
|
||||
from typing import Any
|
||||
from base64 import encodestring as encodebytes
|
||||
|
||||
from six.moves import http_client
|
||||
|
||||
expanduser = ... # type: Any
|
||||
StandardError = ... # type: Any
|
||||
|
||||
if sys.version_info >= (3, 0):
|
||||
StandardError = Exception
|
||||
else:
|
||||
StandardError = __builtins__.StandardError
|
||||
|
||||
long_type = ... # type: Any
|
||||
unquote_str = ... # type: Any
|
||||
parse_qs_safe = ... # type: Any
|
||||
|
||||
Reference in New Issue
Block a user