[Python-ideas] Alternative spelling for list.append()
Clint Hepner
clint.hepner at gmail.com
Sun Jun 17 19:36:54 EDT 2018
> On Jun 17, 2018, at 4:18 PM, Chris Angelico <rosuav at gmail.com> wrote:
>
>> On Mon, Jun 18, 2018 at 3:01 AM, Mikhail V <mikhailwas at gmail.com> wrote:
>> The idea is to introduce new syntax for the list.append() method.
>>
>>
>> Syntax:
>>
>> Variant 1.
>> Use special case of index, namely omitted index:
>>
>> mylist[] = item
>
> Creation of syntax cannot be done for just one type.
That’s false. @ was added solely for matrix multiplication.
>
> Regardless, I am still a strong -1 on introducing another way to spell
> list.append().
-1 as well. Has any one but the proposer shown any support for it yet?
—
Clint
More information about the Python-ideas
mailing list