From bc5a8ddf87eaa1c13d7ad21f6de52905dca0c784 Mon Sep 17 00:00:00 2001 From: Miltos Date: Thu, 25 Jun 2020 17:35:07 +0100 Subject: [PATCH] Add __matmul__ to supported operators. --- jedi/inference/syntax_tree.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jedi/inference/syntax_tree.py b/jedi/inference/syntax_tree.py index 2be19d1b..7ad7c895 100644 --- a/jedi/inference/syntax_tree.py +++ b/jedi/inference/syntax_tree.py @@ -35,6 +35,7 @@ operator_to_magic_method = { '+': '__add__', '-': '__sub__', '*': '__mul__', + '@': '__matmul__', '/': '__truediv__', '//': '__floordiv__', '%': '__mod__',