mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Merge pull request #1623 from mallamanis/master
Add __matmul__ to supported operators.
This commit is contained in:
@@ -35,6 +35,7 @@ operator_to_magic_method = {
|
|||||||
'+': '__add__',
|
'+': '__add__',
|
||||||
'-': '__sub__',
|
'-': '__sub__',
|
||||||
'*': '__mul__',
|
'*': '__mul__',
|
||||||
|
'@': '__matmul__',
|
||||||
'/': '__truediv__',
|
'/': '__truediv__',
|
||||||
'//': '__floordiv__',
|
'//': '__floordiv__',
|
||||||
'%': '__mod__',
|
'%': '__mod__',
|
||||||
|
|||||||
Reference in New Issue
Block a user