Pythonification of the asterisk-based collection packing/unpacking syntax

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sun Dec 18 22:36:05 EST 2011


On Sun, 18 Dec 2011 20:00:59 -0700, Ian Kelly wrote:

> On Sun, Dec 18, 2011 at 6:26 PM, Steven D'Aprano
> <steve+comp.lang.python at pearwood.info> wrote:
>> On Sun, 18 Dec 2011 13:47:46 -0600, Evan Driscoll wrote:
>>
>> [...]
>>> so unless you're opposed to using an editor more advanced than
>>> Notepad, you'll type in "varargs", it'll turn purple or whatever, and
>>> you'll go "oh that's a keyword."
>>
>> Not everybody uses editors more advanced than Notepad. Even those who
>> do may not have an editor that understands Python keywords, or has an
>> obsolete list of keywords (my editor of choice doesn't know about
>> NotImplementedError).
> 
> Probably because NotImplementedError is not a keyword.

Poor choice of words on my part. My editor colours built-ins like 
ValueError, TypeError, len, sum, etc., but not NotImplementedError.


-- 
Steven



More information about the Python-list mailing list