diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-10-12 10:39:22 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-10-12 10:50:34 +0300 |
commit | b904316f22d889171e7fe39e8c467cbea5c6cdd6 (patch) | |
tree | 84c870d76f7278ad6a8d1c020a8b950edb7d531e /contrib/python/prompt-toolkit/py3/prompt_toolkit/patch_stdout.py | |
parent | e493167a2cecbdc68258d70ddb044e7a0f56aa7f (diff) | |
download | ydb-b904316f22d889171e7fe39e8c467cbea5c6cdd6.tar.gz |
Intermediate changes
commit_hash:3ed72e620c7eace6c8edd510ac2324e8acfcfafb
Diffstat (limited to 'contrib/python/prompt-toolkit/py3/prompt_toolkit/patch_stdout.py')
-rw-r--r-- | contrib/python/prompt-toolkit/py3/prompt_toolkit/patch_stdout.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/python/prompt-toolkit/py3/prompt_toolkit/patch_stdout.py b/contrib/python/prompt-toolkit/py3/prompt_toolkit/patch_stdout.py index 4958e9d2e4..e1f2a7a2c3 100644 --- a/contrib/python/prompt-toolkit/py3/prompt_toolkit/patch_stdout.py +++ b/contrib/python/prompt-toolkit/py3/prompt_toolkit/patch_stdout.py @@ -273,7 +273,7 @@ class StdoutProxy: self._flush() @property - def original_stdout(self) -> TextIO: + def original_stdout(self) -> TextIO | None: return self._output.stdout or sys.__stdout__ # Attributes for compatibility with sys.__stdout__: |