diff options
author | Zackery Spytz <zspytz@gmail.com> | 2019-11-17 17:10:13 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2019-11-17 17:10:13 (GMT) |
commit | 2bc343417a4de83fa6998ff91303877734ecd366 (patch) | |
tree | 9342f53fa9415e22c1ccb7d73d08190547406fd1 /Misc | |
parent | 111772fc27cfe388bc060f019d68a3e33481ec65 (diff) | |
download | cpython-2bc343417a4de83fa6998ff91303877734ecd366.zip cpython-2bc343417a4de83fa6998ff91303877734ecd366.tar.gz cpython-2bc343417a4de83fa6998ff91303877734ecd366.tar.bz2 |
bpo-36589: Fix the error handling in curses.update_lines_cols(). (GH-12766)
Return None instead of 1.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-11-16-22-56-51.bpo-36589.0Io76D.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-11-16-22-56-51.bpo-36589.0Io76D.rst b/Misc/NEWS.d/next/Library/2019-11-16-22-56-51.bpo-36589.0Io76D.rst new file mode 100644 index 0000000..3c1221b --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-11-16-22-56-51.bpo-36589.0Io76D.rst @@ -0,0 +1,2 @@ +The :func:`curses.update_lines_cols` function now returns ``None`` instead +of ``1`` on success. |