mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-12 02:42:29 +08:00
Several packages always auto-import certain submodules on import (#1752)
* Importing yaml implies yaml.resolver * Importing six implies six.moves * Importing requests implies requests.packages
This commit is contained in:
committed by
Jelle Zijlstra
parent
7737e519a3
commit
821c765991
+1
@@ -6,6 +6,7 @@ from . import api
|
||||
from . import sessions
|
||||
from . import status_codes
|
||||
from . import exceptions
|
||||
from . import packages
|
||||
import logging
|
||||
|
||||
__title__ = ... # type: Any
|
||||
|
||||
Vendored
+1
@@ -5,6 +5,7 @@ from yaml.events import * # noqa: F403
|
||||
from yaml.nodes import * # noqa: F403
|
||||
from yaml.loader import * # noqa: F403
|
||||
from yaml.dumper import * # noqa: F403
|
||||
from . import resolver # Help mypy a bit; this is implied by loader and dumper
|
||||
# TODO: stubs for cyaml?
|
||||
# from cyaml import *
|
||||
|
||||
|
||||
Reference in New Issue
Block a user