summaryrefslogtreecommitdiff
path: root/Doc/library/telnetlib.rst
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-09-01 23:34:30 +0000
committerCollin Winter <collinw@gmail.com>2007-09-01 23:34:30 +0000
commit59c72be5aa1b6021443dcc9ee2cfd463447da2bd (patch)
tree9671d914c029254db6fbfb26f3e55c84744d7e46 /Doc/library/telnetlib.rst
parent252b38c8e9eea8213a4e2380ba5046c825c9dfec (diff)
downloadcpython-59c72be5aa1b6021443dcc9ee2cfd463447da2bd.tar.gz
Partial py3k-ification of Doc/library/: convert has_key references into either 'k in d' or __contains__; normalize raise statements; convert print statements into print function calls.
Diffstat (limited to 'Doc/library/telnetlib.rst')
-rw-r--r--Doc/library/telnetlib.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/telnetlib.rst b/Doc/library/telnetlib.rst
index c1f1260ff5..5cfca9a0ad 100644
--- a/Doc/library/telnetlib.rst
+++ b/Doc/library/telnetlib.rst
@@ -234,5 +234,5 @@ A simple example illustrating typical use::
tn.write("ls\n")
tn.write("exit\n")
- print tn.read_all()
+ print(tn.read_all())