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.

貢獻者指南