Skip to content
Myr

Remove unused bindings and constants from `_winconsole` (#3817)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Rowlando13 · committed by GitHub · parents 08a7bc6, 94f17e2 · Browse files · 1 file+0 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−5 removed

  • other:+0 added−5 removed

1 file+0 added−5 removed

modified:src/click/_winconsole.py-5 removed
43 unmodified lines
44ReadConsoleW = kernel32.ReadConsoleW45WriteConsoleW = kernel32.WriteConsoleW46GetConsoleMode = kernel32.GetConsoleMode47GetLastError = kernel32.GetLastError48GetCommandLineW = WINFUNCTYPE(LPWSTR)(("GetCommandLineW", windll.kernel32))48CommandLineToArgvW = WINFUNCTYPE(POINTER(LPWSTR), LPCWSTR, POINTER(c_int))(49 ("CommandLineToArgvW", windll.shell32)50)51LocalFree = WINFUNCTYPE(c_void_p, c_void_p)(("LocalFree", windll.kernel32))
8 unmodified lines
60ERROR_SUCCESS = 061ERROR_NOT_ENOUGH_MEMORY = 862ERROR_OPERATION_ABORTED = 9956365STDIN_FILENO = 066STDOUT_FILENO = 167STDERR_FILENO = 26864EOF = b"\x1a"65MAX_BYTES_WRITTEN = 327676667if t.TYPE_CHECKING:
225 unmodified lines