diff options
author | Guido van Rossum <guido@python.org> | 1995-01-04 19:17:34 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-04 19:17:34 (GMT) |
commit | 31cce9737477d924d9e1ea476920df72dab92495 (patch) | |
tree | 10314d7aa86f4b8eb8c87a8780d99aa075d45057 /Doc/ref/ref5.tex | |
parent | e5f8b60429655e94fbfb84a039a2b939b1d8556c (diff) | |
download | cpython-31cce9737477d924d9e1ea476920df72dab92495.zip cpython-31cce9737477d924d9e1ea476920df72dab92495.tar.gz cpython-31cce9737477d924d9e1ea476920df72dab92495.tar.bz2 |
copyright.tex: Add 1995 to copyright message.
lib.tex: add libimp; remove bogus warning about lineii.
libmath.tex: document hypot().
libmd5.tex: rename md5.md5() to md5.new().
libposix.tex: document chown().
libposixfile.tex: openfile() instead of fileopen().
libsocket.tex: document gethostbyaddr().
libtypes.tex: add footnote explaining why readline() keeps the newline.
ref3.tex: correct typos, add back*quotes to index.
ref4.tex: don't use \verb inside footnote.
ref5.tex: explain repr() and str() and add them + back*quotes to index.
ref6.tex: correct typo, don't use \verb in footnote.
ref7.tex: don't use \verb in footnote.
Diffstat (limited to 'Doc/ref/ref5.tex')
-rw-r--r-- | Doc/ref/ref5.tex | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index a4a7b53..af385aa 100644 --- a/Doc/ref/ref5.tex +++ b/Doc/ref/ref5.tex @@ -187,6 +187,9 @@ value prevails. \subsection{String conversions} \indexii{string}{conversion} +\indexii{reverse}{quotes} +\indexii{backward}{quotes} +\index{back-quotes} A string conversion is a condition list enclosed in reverse (or backward) quotes: @@ -214,6 +217,13 @@ dictionaries that contain a reference to themselves, directly or indirectly.) \obindex{recursive} +The built-in function \verb@repr()@ performs exactly the same +conversion in its argument as enclosing it it reverse quotes does. +The built-in function \verb@str()@ performs a similar but more +user-friendly conversion. +\bifuncindex{repr} +\bifuncindex{str} + \section{Primaries} \label{primaries} \index{primary} |