avoid backticks in examples; use repr() instead

This commit is contained in:
Fred Drake 2004-06-03 16:23:23 +00:00
parent 1afd4807d9
commit 175d18840a
1 changed files with 2 additions and 2 deletions

View File

@ -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}