[Python-checkins] cpython: add matrix multiplication operator to correct lists (closes #22142)

benjamin.peterson python-checkins at python.org
Thu Aug 7 07:50:34 CEST 2014


http://hg.python.org/cpython/rev/0bc58b4c0562
changeset:   92035:0bc58b4c0562
user:        Benjamin Peterson <benjamin at python.org>
date:        Wed Aug 06 22:50:30 2014 -0700
summary:
  add matrix multiplication operator to correct lists (closes #22142)

files:
  Doc/reference/lexical_analysis.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst
--- a/Doc/reference/lexical_analysis.rst
+++ b/Doc/reference/lexical_analysis.rst
@@ -689,7 +689,7 @@
 
 The following tokens are operators::
 
-   +       -       *       **      /       //      %
+   +       -       *       **      /       //      %      @
    <<      >>      &       |       ^       ~
    <       >       <=      >=      ==      !=
 
@@ -705,7 +705,7 @@
 
    (       )       [       ]       {       }
    ,       :       .       ;       @       =       ->
-   +=      -=      *=      /=      //=     %=
+   +=      -=      *=      /=      //=     %=      @=
    &=      |=      ^=      >>=     <<=     **=
 
 The period can also occur in floating-point and imaginary literals.  A sequence

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list