PythonCharmers/python-future

Support @ in pasteurize (matrix multiplication)

Open

#472 geöffnet am 29. Mai 2019

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (327 Forks)batch import
futurize scripthelp wantedunscheduled

Repository-Metriken

Stars
 (1.172 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide