Kaydet (Commit) 5e0b8820 authored tarafından George Yoshida's avatar George Yoshida

minor markup nits

üst 2d555b35
...@@ -1983,9 +1983,9 @@ Called to implement the built-in functions ...@@ -1983,9 +1983,9 @@ Called to implement the built-in functions
\end{methoddesc} \end{methoddesc}
\begin{methoddesc}[numeric object]{__index__}{self} \begin{methoddesc}[numeric object]{__index__}{self}
Called to implement operator.index(). Also called whenever Python Called to implement \function{operator.index()}. Also called whenever
needs an integer object (such as in slicing). Must return an integer Python needs an integer object (such as in slicing). Must return an
(int or long). integer (int or long).
\versionadded{2.5} \versionadded{2.5}
\end{methoddesc} \end{methoddesc}
......
...@@ -391,7 +391,8 @@ type but a string of exactly one character. ...@@ -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 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 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{sequence}
\obindex{string} \obindex{string}
\obindex{tuple} \obindex{tuple}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment