Move wsgiref.types to _typeshed.wsgi (#4175)

Re-export the types from wsgiref.types for now to avoid breaking
existing code. wsgiref.types should be removed eventually.

Also, reduce the boilerplate description in _typeshed/wsgi.pyi as it
mirrors the description in _typeshed/__init__.pyi.
This commit is contained in:
Sebastian Rittau
2020-06-05 00:38:45 +02:00
committed by GitHub
parent 5b66868156
commit 1f82564ee2
17 changed files with 49 additions and 58 deletions

View File

@@ -5,7 +5,7 @@ _importlib_modulespec
_operator.methodcaller
_threading_local.local.__new__
_types
_typeshed
_typeshed.* # Utility types for typeshed, doesn't exist at runtime
_weakref.CallableProxyType.__getattr__
_weakref.ProxyType.__getattr__
_weakref.ReferenceType.__call__