Preamble: One can import print
function in python2.7.
Is there a way to import the above-mentioned @
operator in python3.4?
If not: is there fundamental point why it is impossible, or it is just too much work?
Preamble: One can import print
function in python2.7.
Is there a way to import the above-mentioned @
operator in python3.4?
If not: is there fundamental point why it is impossible, or it is just too much work?
As stated in PEP-0465, the matrix multiplication operators (and corresponding magic methods __matmul__
, __rmatmul__
and __imatmul__
) are introduced into the language at version 3.5. It is not an operator in python3.4 (via __future__
or otherwise), so you're out of luck until you update your python version.