Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
bogomipz
7y ago
0 comments
Share
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?
0 comments
default
newest
oldest
augusto2112
7y ago
It's matrix multiplication.
Has been in Python since version 3.5
https://www.python.org/dev/peps/pep-0465/
bogomipz
OP
7y ago
Thanks, I'm not quite that up to date on my 3.x Python. Cheers.
j
/
k
navigate · click thread line to collapse