[Python-checkins] r65601 - python/trunk/Doc/tutorial/inputoutput.rst

georg.brandl python-checkins at python.org
Fri Aug 8 17:34:35 CEST 2008


Author: georg.brandl
Date: Fri Aug  8 17:34:34 2008
New Revision: 65601

Log:
Remove mention of backquotes in the tutorial.


Modified:
   python/trunk/Doc/tutorial/inputoutput.rst

Modified: python/trunk/Doc/tutorial/inputoutput.rst
==============================================================================
--- python/trunk/Doc/tutorial/inputoutput.rst	(original)
+++ python/trunk/Doc/tutorial/inputoutput.rst	Fri Aug  8 17:34:34 2008
@@ -31,9 +31,7 @@
 
 One question remains, of course: how do you convert values to strings? Luckily,
 Python has ways to convert any value to a string: pass it to the :func:`repr`
-or :func:`str` functions.  Reverse quotes (``````) are equivalent to
-:func:`repr`, but they are no longer used in modern Python code and are removed
-in future versions of the language.
+or :func:`str` functions.
 
 The :func:`str` function is meant to return representations of values which are
 fairly human-readable, while :func:`repr` is meant to generate representations
@@ -68,9 +66,6 @@
    >>> # The argument to repr() may be any Python object:
    ... repr((x, y, ('spam', 'eggs')))
    "(32.5, 40000, ('spam', 'eggs'))"
-   >>> # reverse quotes are convenient in interactive sessions:
-   ... `x, y, ('spam', 'eggs')`
-   "(32.5, 40000, ('spam', 'eggs'))"
 
 Here are two ways to write a table of squares and cubes::
 


More information about the Python-checkins mailing list