diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2017-10-10 22:03:14 (GMT) |
---|---|---|
committer | Mariatta <Mariatta@users.noreply.github.com> | 2017-10-10 22:03:14 (GMT) |
commit | 10eb14e2c5fe08c4193668530eaef156e07c3674 (patch) | |
tree | 81acb34c12ba86d928ce9d038fad4a74b3b2690b /Misc | |
parent | a8ac71d15f2a4aef83a8954a678cc12545ce517c (diff) | |
download | cpython-10eb14e2c5fe08c4193668530eaef156e07c3674.zip cpython-10eb14e2c5fe08c4193668530eaef156e07c3674.tar.gz cpython-10eb14e2c5fe08c4193668530eaef156e07c3674.tar.bz2 |
bpo-31537: Update readline documentation example. (GH-3925) (GH-3948)
Change the code example from using `get_history_length` to `get_current_history_length`.
(cherry picked from commit eeb5ffd54e56dd89a99c74eb512c36d62649cfec)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2017-10-08-23-02-14.bpo-31537.SiFNM8.rst | 2 |
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. |