diff options
author | George Yoshida <dynkin@gmail.com> | 2006-05-27 16:32:44 (GMT) |
---|---|---|
committer | George Yoshida <dynkin@gmail.com> | 2006-05-27 16:32:44 (GMT) |
commit | 5e0b88200eb2a127a7e7bd2516dbdc0539a9478f (patch) | |
tree | c1d323e6f1c499871d28693cb83eded42ef6cff7 /Doc | |
parent | 2d555b356ad1c7125b3a4e709c7f515935ea12e6 (diff) | |
download | cpython-5e0b88200eb2a127a7e7bd2516dbdc0539a9478f.zip cpython-5e0b88200eb2a127a7e7bd2516dbdc0539a9478f.tar.gz cpython-5e0b88200eb2a127a7e7bd2516dbdc0539a9478f.tar.bz2 |
minor markup nits
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/ref/ref3.tex | 6 | ||||
-rw-r--r-- | Doc/ref/ref5.tex | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex index 296f79f..d0c8ccf 100644 --- a/Doc/ref/ref3.tex +++ b/Doc/ref/ref3.tex @@ -1983,9 +1983,9 @@ Called to implement the built-in functions \end{methoddesc} \begin{methoddesc}[numeric object]{__index__}{self} -Called to implement operator.index(). Also called whenever Python -needs an integer object (such as in slicing). Must return an integer -(int or long). +Called to implement \function{operator.index()}. Also called whenever +Python needs an integer object (such as in slicing). Must return an +integer (int or long). \versionadded{2.5} \end{methoddesc} diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index eca2f11..e64299a 100644 --- a/Doc/ref/ref5.tex +++ b/Doc/ref/ref5.tex @@ -391,7 +391,8 @@ type but a string of exactly one character. A slicing selects a range of items in a sequence object (e.g., a string, tuple or list). Slicings may be used as expressions or as -targets in assignment or del statements. The syntax for a slicing: +targets in assignment or \keyword{del} statements. The syntax for a +slicing: \obindex{sequence} \obindex{string} \obindex{tuple} |