]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] bpo-36589: Fix the error handling in curses.update_lines_cols(). (GH-12766...
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 1 Jan 2021 17:40:38 +0000 (19:40 +0200)
committerGitHub <noreply@github.com>
Fri, 1 Jan 2021 17:40:38 +0000 (19:40 +0200)
commit187785e2fa2050156a6eda93fb2da31db13f07a6
tree67b566f85860d493dc7a0264628fe71a75f7f7f9
parent1a544e1dcf8e0880ee35ce78a7f90fc4e5c98c4f
[3.8] bpo-36589: Fix the error handling in curses.update_lines_cols(). (GH-12766) (GH-24023)

Return None instead of 1.
(cherry picked from commit 2bc343417a4de83fa6998ff91303877734ecd366)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Misc/NEWS.d/next/Library/2019-11-16-22-56-51.bpo-36589.0Io76D.rst [new file with mode: 0644]
Modules/_cursesmodule.c
Modules/clinic/_cursesmodule.c.h