diff options
author | Fred Drake <fdrake@acm.org> | 2006-05-03 02:04:40 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2006-05-03 02:04:40 (GMT) |
commit | f25fa6ddb97979abe06fec961c22d8db0b6563a1 (patch) | |
tree | 8a615a1de9bebe4a04c8f7f8ff3098305dc1f744 /Doc/whatsnew | |
parent | f863609cd64fef0fa0a36bd464096763c943f07e (diff) | |
download | cpython-f25fa6ddb97979abe06fec961c22d8db0b6563a1.zip cpython-f25fa6ddb97979abe06fec961c22d8db0b6563a1.tar.gz cpython-f25fa6ddb97979abe06fec961c22d8db0b6563a1.tar.bz2 |
avoid ugly markup based on the unfortunate conversions of ">>" and "<<" to
guillemets; no need for magic here
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/whatsnew20.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/whatsnew20.tex b/Doc/whatsnew/whatsnew20.tex index bf458fa..7cd0395 100644 --- a/Doc/whatsnew/whatsnew20.tex +++ b/Doc/whatsnew/whatsnew20.tex @@ -400,7 +400,7 @@ statement \code{a += 2} increments the value of the variable % The empty groups below prevent conversion to guillemets. The full list of supported assignment operators is \code{+=}, \code{-=}, \code{*=}, \code{/=}, \code{\%=}, \code{**=}, \code{\&=}, -\code{|=}, \verb|^=|, \code{>{}>=}, and \code{<{}<=}. Python classes can +\code{|=}, \verb|^=|, \code{>>=}, and \code{<<=}. Python classes can override the augmented assignment operators by defining methods named \method{__iadd__}, \method{__isub__}, etc. For example, the following \class{Number} class stores a number and supports using += to create a |