diff options
author | Guido van Rossum <guido@python.org> | 2006-03-07 18:50:55 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-03-07 18:50:55 (GMT) |
commit | 38fff8c4e4276e4e57660a78f305e68bfa87874b (patch) | |
tree | 5f79c06159053f9c7113410fc69dccba01e331ab /Doc/lib | |
parent | 9d7855076a8e030e30459de685e762f63bdecac6 (diff) | |
download | cpython-38fff8c4e4276e4e57660a78f305e68bfa87874b.zip cpython-38fff8c4e4276e4e57660a78f305e68bfa87874b.tar.gz cpython-38fff8c4e4276e4e57660a78f305e68bfa87874b.tar.bz2 |
Checking in the code for PEP 357.
This was mostly written by Travis Oliphant.
I've inspected it all; Neal Norwitz and MvL have also looked at it
(in an earlier incarnation).
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/liboperator.tex | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/liboperator.tex b/Doc/lib/liboperator.tex index 11e004a..41da9b7 100644 --- a/Doc/lib/liboperator.tex +++ b/Doc/lib/liboperator.tex @@ -171,6 +171,11 @@ effect. This is also known as ``true'' division. Return the bitwise exclusive or of \var{a} and \var{b}. \end{funcdesc} +\begin{funcdesc}{index}{a} +\funcline{__index__}{a} +Return \var{a} converted to an integer. Equivalent to \var{a}\code{.__index__()}. +\versionadded{2.5} +\end{funcdesc} Operations which work with sequences include: |