summaryrefslogtreecommitdiffstats
path: root/Doc/library/telnetlib.rst
diff options
context:
space:
mode:
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 c1f1260..5cfca9a 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())