A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-May/064716.html below:

[Python-Dev] PEP 3102: Keyword-only arguments

[Python-Dev] PEP 3102: Keyword-only argumentsTerry Reedy tjreedy at udel.edu
Mon May 1 19:25:16 CEST 2006
"Fredrik Lundh" <fredrik at pythonware.com> wrote in message 
news:e35a4q$c23$1 at sea.gmane.org...
> which reminds me of the following little absurdity gem from the language
> reference:
>
>    The following identifiers are used as keywords of the language, and
>    cannot be used as ordinary identifiers. They must be spelled exactly
>    as written here: /.../
>
> (maybe it's just me).

I am not sure of what you see as absurdity, as opposed to clumbsiness. 
Keywords are syntacticly indentifiers, but are reserved for predefined 
uses, and thus sematically are not identifiers.  Perhaps 'ordinary 
indentifiers' should be replaced by 'names'.  The second sentence is 
referring to case variations, and that could be more explicit.  Before the 
elevation of None to reserved word status, one could have just added ", in 
lower case letters"

> btw, talking about idioms used in the language reference, can any of the
> native speakers on this list explain if "A is a nicer way of spelling B" 
> means
> that "A is preferred over B",  [alternatives snipped]

Yes.

Terry Jan Reedy



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4