]> git.ipfire.org Git - thirdparty/tornado.git/commit
Import WSGI types from _typeshed.wsgi 3134/head
authorSebastian Rittau <srittau@rittau.biz>
Sat, 16 Apr 2022 19:34:12 +0000 (21:34 +0200)
committerGitHub <noreply@github.com>
Sat, 16 Apr 2022 19:34:12 +0000 (21:34 +0200)
commit404598faec3f1cb853da9e6284a90e0eff1e0696
tree250f17b7137e66d893516fd3f2718307f0998d44
parentc7a69b5be6ffff8e038c58f0016471fc2867039f
Import WSGI types from _typeshed.wsgi

wsgiref.types is a new module in Python 3.11. Accordingly, typeshed's stubs were updated so that this module is only available from Python 3.11 onwards. But the typeshed-specific module _typeshed.wsgi (which is considered stable by typeshed) contains all the necessary definitions for all supported Python versions.
tornado/wsgi.py