Y
Hacker News
new
|
ask
|
show
|
jobs
by
bogomipz
2863 days ago
Could you explain the return statement in your example? I only know the '@' as a decorator in Python. This looks like invalid syntax to me what am I missing?
1 comments
augusto2112
2863 days ago
It's matrix multiplication.
Has been in Python since version 3.5
https://www.python.org/dev/peps/pep-0465/
link
bogomipz
2863 days ago
Thanks, I'm not quite that up to date on my 3.x Python. Cheers.
link
Has been in Python since version 3.5
https://www.python.org/dev/peps/pep-0465/