aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/prompt-toolkit/py3/prompt_toolkit/patch_stdout.py
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-10-12 10:39:22 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-10-12 10:50:34 +0300
commitb904316f22d889171e7fe39e8c467cbea5c6cdd6 (patch)
tree84c870d76f7278ad6a8d1c020a8b950edb7d531e /contrib/python/prompt-toolkit/py3/prompt_toolkit/patch_stdout.py
parente493167a2cecbdc68258d70ddb044e7a0f56aa7f (diff)
downloadydb-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.py2
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__: