[Python-checkins] r78859 - python/trunk/Doc/faq/library.rst
georg.brandl
python-checkins at python.org
Fri Mar 12 10:57:44 CET 2010
Author: georg.brandl
Date: Fri Mar 12 10:57:43 2010
New Revision: 78859
Log:
Get rid of backticks.
Modified:
python/trunk/Doc/faq/library.rst
Modified: python/trunk/Doc/faq/library.rst
==============================================================================
--- python/trunk/Doc/faq/library.rst (original)
+++ python/trunk/Doc/faq/library.rst Fri Mar 12 10:57:43 2010
@@ -205,7 +205,7 @@
while 1:
try:
c = sys.stdin.read(1)
- print "Got character", `c`
+ print "Got character", repr(c)
except IOError: pass
finally:
termios.tcsetattr(fd, termios.TCSAFLUSH, oldterm)
More information about the Python-checkins
mailing list