summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2018-07-25 15:23:44 (GMT)
committerGitHub <noreply@github.com>2018-07-25 15:23:44 (GMT)
commit74102c9a5f2327c4fc47feefa072854a53551d1f (patch)
treebc6ef255acbe46650c753977363c7c7c5e9d5c73 /Misc/NEWS.d
parentc0f0a7669c73c0d444851dd4c5299de2479214cc (diff)
downloadcpython-74102c9a5f2327c4fc47feefa072854a53551d1f.zip
cpython-74102c9a5f2327c4fc47feefa072854a53551d1f.tar.gz
cpython-74102c9a5f2327c4fc47feefa072854a53551d1f.tar.bz2
bpo-13041: Use shutil.get_terminal_size() in argparse.HelpFormatter (GH-8459)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2018-07-25-12-08-48.bpo-13041.lNmgDz.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-07-25-12-08-48.bpo-13041.lNmgDz.rst b/Misc/NEWS.d/next/Library/2018-07-25-12-08-48.bpo-13041.lNmgDz.rst
new file mode 100644
index 0000000..d0871a8
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-07-25-12-08-48.bpo-13041.lNmgDz.rst
@@ -0,0 +1,3 @@
+Use :func:`shutil.get_terminal_size` to calculate the terminal width
+correctly in the ``argparse.HelpFormatter`` class. Initial patch by Zbyszek
+Jędrzejewski-Szmek.