diff Doc/lib/libsocket.tex @ 32231:525abc66bcc2 legacy-trunk

avoid backticks in examples; use repr() instead
author Fred Drake <fdrake@acm.org>
date Thu, 03 Jun 2004 16:23:23 +0000
parents c5a552578344
children d8abf582f893
line wrap: on
line diff
--- a/Doc/lib/libsocket.tex	Thu Jun 03 14:33:03 2004 +0000
+++ b/Doc/lib/libsocket.tex	Thu Jun 03 16:23:23 2004 +0000
@@ -714,7 +714,7 @@
 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 @@
 s.send('Hello, world')
 data = s.recv(1024)
 s.close()
-print 'Received', `data`
+print 'Received', repr(data)
 \end{verbatim}