object.
Add "()" to method names indexed using \ttindex{}.
\indexii{slice}{assignment}
\stindex{del}
\withsubitem{(list method)}{%
- \ttindex{append}%
- \ttindex{extend}%
- \ttindex{count}%
- \ttindex{index}%
- \ttindex{insert}%
- \ttindex{pop}%
- \ttindex{remove}%
- \ttindex{reverse}%
- \ttindex{sort}%
-}
+ \ttindex{append()}%
+ \ttindex{extend()}%
+ \ttindex{count()}%
+ \ttindex{index()}%
+ \ttindex{insert()}%
+ \ttindex{pop()}%
+ \ttindex{remove()}%
+ \ttindex{reverse()}%
+ \ttindex{sort()}}
\noindent
Notes:
\begin{description}
\stindex{del}
\bifuncindex{len}
\withsubitem{(dictionary method)}{%
- \ttindex{clear}%
- \ttindex{copy}%
- \ttindex{has_key}%
- \ttindex{items}%
- \ttindex{keys}%
- \ttindex{update}%
- \ttindex{values}%
- \ttindex{get}%
-}
+ \ttindex{clear()}%
+ \ttindex{copy()}%
+ \ttindex{has_key()}%
+ \ttindex{items()}%
+ \ttindex{keys()}%
+ \ttindex{update()}%
+ \ttindex{values()}%
+ \ttindex{get()}}
\noindent
Notes:
\begin{description}
extracted from function objects through their \code{func_code}
attribute.
\bifuncindex{compile}
-\withsubitem{(code object attribute)}{\ttindex{func_code}}
+\withsubitem{(function object attribute)}{\ttindex{func_code}}
A code object can be executed or evaluated by passing it (instead of a
source string) to the \code{exec} statement or the built-in