diff options
Diffstat (limited to 'Doc/library/telnetlib.rst')
-rw-r--r-- | Doc/library/telnetlib.rst | 2 |
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()) |