diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-06-14 17:46:04 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-06-14 18:00:06 +0300 |
commit | 85f6451860166545196ffa2950aa68be2363733b (patch) | |
tree | 4443b7b2465bda4bdc3589314f258329ecaedb38 /contrib/python/prompt-toolkit/py3/prompt_toolkit/eventloop | |
parent | fa297dd4855aef4bd79faebb48120708d2f9249d (diff) | |
download | ydb-85f6451860166545196ffa2950aa68be2363733b.tar.gz |
Intermediate changes
Diffstat (limited to 'contrib/python/prompt-toolkit/py3/prompt_toolkit/eventloop')
-rw-r--r-- | contrib/python/prompt-toolkit/py3/prompt_toolkit/eventloop/async_generator.py | 1 | ||||
-rw-r--r-- | contrib/python/prompt-toolkit/py3/prompt_toolkit/eventloop/inputhook.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/contrib/python/prompt-toolkit/py3/prompt_toolkit/eventloop/async_generator.py b/contrib/python/prompt-toolkit/py3/prompt_toolkit/eventloop/async_generator.py index 5aee50a409..32e5f88247 100644 --- a/contrib/python/prompt-toolkit/py3/prompt_toolkit/eventloop/async_generator.py +++ b/contrib/python/prompt-toolkit/py3/prompt_toolkit/eventloop/async_generator.py @@ -1,6 +1,7 @@ """ Implementation for async generators. """ + from __future__ import annotations from asyncio import get_running_loop diff --git a/contrib/python/prompt-toolkit/py3/prompt_toolkit/eventloop/inputhook.py b/contrib/python/prompt-toolkit/py3/prompt_toolkit/eventloop/inputhook.py index a4c0eee6bb..40016e87f6 100644 --- a/contrib/python/prompt-toolkit/py3/prompt_toolkit/eventloop/inputhook.py +++ b/contrib/python/prompt-toolkit/py3/prompt_toolkit/eventloop/inputhook.py @@ -22,6 +22,7 @@ stuff to do. There are two ways to detect when to return: asynchronous autocompletion. When the completion for instance is ready, we also want prompt-toolkit to gain control again in order to display that. """ + from __future__ import annotations import asyncio |