Commit 175d1884 authored by Fred Drake's avatar Fred Drake

avoid backticks in examples; use repr() instead

parent 1afd4807
......@@ -714,7 +714,7 @@ s.connect((HOST, PORT))
s.send('Hello, world')
data = s.recv(1024)
s.close()
print 'Received', `data`
print 'Received', repr(data)
\end{verbatim}
The next two examples are identical to the above two, but support both
......@@ -790,5 +790,5 @@ if s is None:
s.send('Hello, world')
data = s.recv(1024)
s.close()
print 'Received', `data`
print 'Received', repr(data)
\end{verbatim}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment