mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
teach unparse about matrix multiplication
This commit is contained in:
parent
8b4c7ed6eb
commit
63c46b25d0
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ class Unparser:
|
|||
self.dispatch(t.operand)
|
||||
self.write(")")
|
||||
|
||||
binop = { "Add":"+", "Sub":"-", "Mult":"*", "Div":"/", "Mod":"%",
|
||||
binop = { "Add":"+", "Sub":"-", "Mult":"*", "MatMult":"@", "Div":"/", "Mod":"%",
|
||||
"LShift":"<<", "RShift":">>", "BitOr":"|", "BitXor":"^", "BitAnd":"&",
|
||||
"FloorDiv":"//", "Pow": "**"}
|
||||
def _BinOp(self, t):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue