What is the meaning of @@?

Richard Damon Richard at Damon-Family.org
Sun Dec 24 20:55:19 EST 2017


On 12/24/17 8:33 PM, Peng Yu wrote:
> See for example this file.
>
> https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/rnn_cell.py
>
> On Sat, Dec 23, 2017 at 12:03 AM, Steve D'Aprano
> <steve+python at pearwood.info> wrote:
>> On Sat, 23 Dec 2017 04:38 pm, Peng Yu wrote:
>>
>>> Hi, I only can find the doc for @. What does @@ mean in python?
>> I don't think that @@ means anything yet.
>>
>> There was a proposal to use @@ for matrix exponentiation in Numpy, as @ is
>> used for matrix multiplication, but that was left on hold to see whether it
>> is really needed or not.
>>
>> Where did you find @@ in Python?
>>
>>
>> (By the way, @ for matrix multiplication only works in Python 3.5 or better.)
>>
>> https://www.python.org/dev/peps/pep-0465/
>>
>>
>>
>> --
>> Steve
>> “Cheer up,” they said, “things could be worse.” So I cheered up, and sure
>> enough, things got worse.
>>
>> --
>> https://mail.python.org/mailman/listinfo/python-list
>
>
>
Note, the @@ is inside a triple quoted string, so this is just part of a 
multi-line string.

-- 
Richard Damon




More information about the Python-list mailing list