diff options
Diffstat (limited to 'Doc/ref/ref5.tex')
-rw-r--r-- | Doc/ref/ref5.tex | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index d66996a..37d1f2d 100644 --- a/Doc/ref/ref5.tex +++ b/Doc/ref/ref5.tex @@ -16,6 +16,7 @@ and no semantics are given, the semantics of this form of \code{name} are the same as for \code{othername}. \index{syntax} + \section{Arithmetic conversions\label{conversions}} \indexii{arithmetic}{conversion} @@ -54,6 +55,7 @@ atom: identifier | literal | enclosure enclosure: parenth_form|list_display|dict_display|string_conversion \end{verbatim} + \subsection{Identifiers (Names)\label{atom-identifiers}} \index{name} \index{identifier} @@ -99,6 +101,7 @@ transformed name is extremely long (longer than 255 characters), implementation defined truncation may happen. If the class name consists only of underscores, no transformation is done. + \subsection{Literals\label{atom-literals}} \index{literal} @@ -122,6 +125,7 @@ the same object or a different object with the same value. \indexiii{immutable}{data}{type} \indexii{immutable}{object} + \subsection{Parenthesized forms\label{parenthesized}} \index{parenthesized form} @@ -150,6 +154,7 @@ pass uncaught. \index{comma} \indexii{tuple}{display} + \subsection{List displays\label{lists}} \indexii{list}{display} \indexii{list}{comprehensions} @@ -181,6 +186,7 @@ each time the innermost block is reached. \obindex{list} \indexii{empty}{list} + \subsection{Dictionary displays\label{dict}} \indexii{dictionary}{display} @@ -210,6 +216,7 @@ are not detected; the last datum (textually rightmost in the display) stored for a given key value prevails. \indexii{immutable}{object} + \subsection{String conversions\label{string-conversions}} \indexii{string}{conversion} \indexii{reverse}{quotes} @@ -249,6 +256,7 @@ similar but more user-friendly conversion. \bifuncindex{repr} \bifuncindex{str} + \section{Primaries\label{primaries}} \index{primary} @@ -259,6 +267,7 @@ Their syntax is: primary: atom | attributeref | subscription | slicing | call \end{verbatim} + \subsection{Attribute references\label{attribute-references}} \indexii{attribute}{reference} @@ -279,6 +288,7 @@ yield different objects. \obindex{module} \obindex{list} + \subsection{Subscriptions\label{subscriptions}} \index{subscription} @@ -316,6 +326,7 @@ type but a string of exactly one character. \index{character} \indexii{string}{item} + \subsection{Slicings\label{slicings}} \index{slicing} \index{slice} @@ -382,6 +393,7 @@ expressions. \withsubitem{(slice object attribute)}{\ttindex{start} \ttindex{stop}\ttindex{step}} + \subsection{Calls\label{calls}} \index{call} @@ -556,6 +568,7 @@ In all three cases, if the argument does not have the proper type, a \exception{TypeError} exception is raised. \exindex{TypeError} + \section{Binary arithmetic operations\label{binary}} \indexiii{binary}{arithmetic}{operation} @@ -626,6 +639,7 @@ arguments. The numeric arguments are first converted to a common type. \index{subtraction} + \section{Shifting operations\label{shifting}} \indexii{shifting}{operation} @@ -650,6 +664,7 @@ value. Negative shift counts raise a \exception{ValueError} exception. \exindex{ValueError} + \section{Binary bit-wise operations\label{bitwise}} \indexiii{binary}{bit-wise}{operation} @@ -678,6 +693,7 @@ converted to a common type. \indexii{bit-wise}{or} \indexii{inclusive}{or} + \section{Comparisons\label{comparisons}} \index{comparison} @@ -808,6 +824,7 @@ truth value. \opindex{is not} \indexii{identity}{test} + \section{Boolean operations\label{Booleans}} \indexii{Boolean}{operation} |