Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b04d485

Browse files
committed
Remove mention of backquotes in the tutorial.
1 parent 463f39d commit b04d485

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

Doc/tutorial/inputoutput.rst

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ way is to use the :meth:`str.format` method.
3131

3232
One question remains, of course: how do you convert values to strings? Luckily,
3333
Python has ways to convert any value to a string: pass it to the :func:`repr`
34-
or :func:`str` functions. Reverse quotes (``````) are equivalent to
35-
:func:`repr`, but they are no longer used in modern Python code and are removed
36-
in future versions of the language.
34+
or :func:`str` functions.
3735

3836
The :func:`str` function is meant to return representations of values which are
3937
fairly human-readable, while :func:`repr` is meant to generate representations
@@ -68,9 +66,6 @@ Some examples::
6866
>>> # The argument to repr() may be any Python object:
6967
... repr((x, y, ('spam', 'eggs')))
7068
"(32.5, 40000, ('spam', 'eggs'))"
71-
>>> # reverse quotes are convenient in interactive sessions:
72-
... `x, y, ('spam', 'eggs')`
73-
"(32.5, 40000, ('spam', 'eggs'))"
7469

7570
Here are two ways to write a table of squares and cubes::
7671

0 commit comments

Comments
 (0)