Skip to content

Commit 94d5d6e

Browse files
Removed type declaration of unused variable.
1 parent afb9df6 commit 94d5d6e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/prompt_toolkit/output/flush_stdout.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def flush_stdout(stdout: TextIO, data: str) -> None:
2727
# UnicodeEncodeError crashes. E.g. u'\xb7' does not appear in 'ascii'.)
2828
# My Arch Linux installation of july 2015 reported 'ANSI_X3.4-1968'
2929
# for sys.stdout.encoding in xterm.
30-
out: IO[bytes]
3130
if has_binary_io:
3231
stdout.buffer.write(data.encode(stdout.encoding or "utf-8", "replace"))
3332
else:

0 commit comments

Comments
 (0)