summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2015-11-28 17:24:52 (GMT)
committerR David Murray <rdmurray@bitdance.com>2015-11-28 17:24:52 (GMT)
commit4f09806e662928c5524ab5d792d73297c50494b3 (patch)
tree74a8b786e7c43de01493bc1b84ad1e38367219c4 /Doc/whatsnew
parent37f54219543f9cb6ebf6a94cfe1eb402bc9b5580 (diff)
downloadcpython-4f09806e662928c5524ab5d792d73297c50494b3.zip
cpython-4f09806e662928c5524ab5d792d73297c50494b3.tar.gz
cpython-4f09806e662928c5524ab5d792d73297c50494b3.tar.bz2
#25485: Add context manager support to Telnet class.
Patch by Stéphane Wirtel.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.6.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
index 172b253..fc32fb5 100644
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -125,6 +125,13 @@ Previously, names of properties and slots which were not yet created on
an instance were excluded. (Contributed by Martin Panter in :issue:`25590`.)
+telnetlib
+---------
+
+:class:`~telnetlib.Telnet` is now a context manager (contributed by
+Stéphane Wirtel in :issue:`25485`).
+
+
urllib.robotparser
------------------