diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2000-08-30 12:55:42 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2000-08-30 12:55:42 (GMT) |
commit | 3cdb5761c5d779b15e153cf33d52babbf56b5807 (patch) | |
tree | 6ea49f52479fb1392fcb80c152edbef57bde6120 /Doc/whatsnew | |
parent | d576e9df5fc708dcae055a7a6416804f174a6278 (diff) | |
download | cpython-3cdb5761c5d779b15e153cf33d52babbf56b5807.zip cpython-3cdb5761c5d779b15e153cf33d52babbf56b5807.tar.gz cpython-3cdb5761c5d779b15e153cf33d52babbf56b5807.tar.bz2 |
Fix markup error
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 d3ffcdb..9f742c7 100644 --- a/Doc/whatsnew/whatsnew20.tex +++ b/Doc/whatsnew/whatsnew20.tex @@ -280,7 +280,7 @@ by 2, equivalent to the slightly lengthier The full list of supported assignment operators is \code{+=}, \code{-=}, \code{*=}, \code{/=}, \code{\%=}, \code{**=}, \code{\&=}, -\code{|=}, \code{^=}, \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 |