PythonCharmers/python-future

Support @ in pasteurize (matrix multiplication)

Open

#472 opened on 2019年5月29日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Python (1,172 stars) (327 forks)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.

コントリビューターガイド