]> git.ipfire.org Git - thirdparty/tornado.git/commit
concurrent: Update type hint on chain_future to match implementation 3393/head
authorBen Darnell <ben@bendarnell.com>
Fri, 7 Jun 2024 19:54:08 +0000 (15:54 -0400)
committerBen Darnell <ben@bendarnell.com>
Fri, 7 Jun 2024 19:54:08 +0000 (15:54 -0400)
commit385af837f278ec0a6489cb61db158960e648fa94
treeb52a44879878532098602afb4b99b753aa70aab6
parent4337efe236168d0b8b73188abb6944976ce5394a
concurrent: Update type hint on chain_future to match implementation

This method has always accepted both asyncio and concurrent futures,
but the type hint incorrectly indicated that it only accepted asyncio
futures.

Fixes #3314
tornado/concurrent.py
tornado/test/concurrent_test.py