PythonCharmers/python-future

Support @ in pasteurize (matrix multiplication)

Open

#472 创建于 2019年5月29日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Python (1,172 star) (327 fork)batch import
futurize scripthelp wantedunscheduled

描述

If x @ y appears in a script, it should be changed to x.__matmul__(y). This is used mostly by Numpy.

If you'd like to get fancy about it, you can also support __rmatmul__ and __imatmul__, but just the first one is enough for now.

贡献者指南