diff options
| author | Fred Drake <fdrake@acm.org> | 2006-05-03 02:04:40 +0000 |
|---|---|---|
| committer | Fred Drake <fdrake@acm.org> | 2006-05-03 02:04:40 +0000 |
| commit | f25fa6ddb97979abe06fec961c22d8db0b6563a1 (patch) | |
| tree | 8a615a1de9bebe4a04c8f7f8ff3098305dc1f744 /Doc/lib/liboperator.tex | |
| parent | f863609cd64fef0fa0a36bd464096763c943f07e (diff) | |
| download | cpython-git-f25fa6ddb97979abe06fec961c22d8db0b6563a1.tar.gz | |
avoid ugly markup based on the unfortunate conversions of ">>" and "<<" to
guillemets; no need for magic here
Diffstat (limited to 'Doc/lib/liboperator.tex')
| -rw-r--r-- | Doc/lib/liboperator.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/liboperator.tex b/Doc/lib/liboperator.tex index 41da9b7c5a..5ba3209be0 100644 --- a/Doc/lib/liboperator.tex +++ b/Doc/lib/liboperator.tex @@ -320,7 +320,7 @@ and \var{b} sequences. \begin{funcdesc}{irshift}{a, b} \funcline{__irshift__}{a, b} -\code{a = irshift(a, b)} is equivalent to \code{a >}\code{>= b}. +\code{a = irshift(a, b)} is equivalent to \code{a >>= b}. \versionadded{2.5} \end{funcdesc} @@ -499,7 +499,7 @@ symbols in the Python syntax and the functions in the {\code{neg(\var{a})}} \lineiii{Negation (Logical)}{\code{not \var{a}}} {\code{not_(\var{a})}} - \lineiii{Right Shift}{\code{\var{a} >\code{>} \var{b}}} + \lineiii{Right Shift}{\code{\var{a} >> \var{b}}} {\code{rshift(\var{a}, \var{b})}} \lineiii{Sequence Repitition}{\code{\var{seq} * \var{i}}} {\code{repeat(\var{seq}, \var{i})}} |
