summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Documentation
diff options
context:
space:
mode:
authorBrad Smith <infinitewarp@users.noreply.github.com>2017-10-10 21:52:58 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2017-10-10 21:52:58 (GMT)
commiteeb5ffd54e56dd89a99c74eb512c36d62649cfec (patch)
tree14bcd3c07e713f6fa873e045f82c27a8bd2ee02e /Misc/NEWS.d/next/Documentation
parent39ecb9c71b6e55d8a61a710d0144231bd88f9ada (diff)
downloadcpython-eeb5ffd54e56dd89a99c74eb512c36d62649cfec.zip
cpython-eeb5ffd54e56dd89a99c74eb512c36d62649cfec.tar.gz
cpython-eeb5ffd54e56dd89a99c74eb512c36d62649cfec.tar.bz2
bpo-31537: Update readline documentation example. (GH-3925)
Change the code example from using `get_history_length` to `get_current_history_length`.
Diffstat (limited to 'Misc/NEWS.d/next/Documentation')
-rw-r--r--Misc/NEWS.d/next/Documentation/2017-10-08-23-02-14.bpo-31537.SiFNM8.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2017-10-08-23-02-14.bpo-31537.SiFNM8.rst b/Misc/NEWS.d/next/Documentation/2017-10-08-23-02-14.bpo-31537.SiFNM8.rst
new file mode 100644
index 0000000..9244d7e
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2017-10-08-23-02-14.bpo-31537.SiFNM8.rst
@@ -0,0 +1,2 @@
+Fix incorrect usage of ``get_history_length`` in readline documentation
+example code. Patch by Brad Smith.