diff options
author | Soumendra Ganguly <67527439+8vasu@users.noreply.github.com> | 2021-08-27 02:56:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-27 02:56:26 (GMT) |
commit | ae224bb566301d3602e9b090e37c1dcf5a48c914 (patch) | |
tree | c309b7ead3677cb719de7b97b85715956a3e798c /Lib/test/pydocfodder.py | |
parent | 969ae7f7356584e30667b4e490ffa2ffa1810429 (diff) | |
download | cpython-ae224bb566301d3602e9b090e37c1dcf5a48c914.zip cpython-ae224bb566301d3602e9b090e37c1dcf5a48c914.tar.gz cpython-ae224bb566301d3602e9b090e37c1dcf5a48c914.tar.bz2 |
bpo-41818: Add termios.tcgetwinsize(), termios.tcsetwinsize(). (GH-23686)
* Add termios.tcgetwinsize(), termios.tcsetwinsize(). Update docs.
* Add TIOCGSIZE support to termios.tcgetwinsize()
* Add TIOCSSIZE support to termios.tcsetwinsize()
Authored-by: Soumendra Ganguly <soumendraganguly@gmail.com>
* termios.tcgetwinsize() and termios.tcsetwinsize() should return/accept two-item tuples instead of lists.
* Refactor tcsetwinsize to share common code and accept any two item sequence, with overflow checking.
Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google]
Diffstat (limited to 'Lib/test/pydocfodder.py')
0 files changed, 0 insertions, 0 deletions