mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Trim trailing whitespace and test on CI (#104275)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
parent
1f5679540c
commit
d513ddee94
13 changed files with 44 additions and 12 deletions
|
@ -85,7 +85,7 @@ termios_tcgetattr_impl(PyObject *module, int fd)
|
|||
int r;
|
||||
|
||||
Py_BEGIN_ALLOW_THREADS
|
||||
r = tcgetattr(fd, &mode);
|
||||
r = tcgetattr(fd, &mode);
|
||||
Py_END_ALLOW_THREADS
|
||||
if (r == -1) {
|
||||
return PyErr_SetFromErrno(state->TermiosError);
|
||||
|
@ -372,7 +372,7 @@ termios_tcgetwinsize_impl(PyObject *module, int fd)
|
|||
#if defined(TIOCGWINSZ)
|
||||
termiosmodulestate *state = PyModule_GetState(module);
|
||||
struct winsize w;
|
||||
int r;
|
||||
int r;
|
||||
|
||||
Py_BEGIN_ALLOW_THREADS
|
||||
r = ioctl(fd, TIOCGWINSZ, &w);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue