[Python-Dev] Re: Re: new syntax for wrapping (PEP 318)
Terry Reedy
tjreedy at udel.edu
Thu Feb 26 10:45:15 EST 2004
"Moore, Paul" <Paul.Moore at atosorigin.com> wrote in message
news:16E1010E4581B049ABC51D4975CEDB8802C09CE4 at UKDCX001.uk.int.atosorigin.com...
> This is a very good point. Assuming the "as" keyword, any user who saw
> def f(a, b, c) as classmethod:
> and looked up "as" rather than "classmethod" has clearly been having a
bad day.
>Who, as a new user, saw
> "import something as another"
> and looked up "as" rather than "import"? Go on - admit it. You're among
friends :-)
Doesn't matter. The ref manual index could/should gain an entry for 'as
keyword' with subheadings (with appropriate links) for 'function
definition' and 'import'. I was 70% surprised that there is no entry now
(2.3.3 version).
Terry J. Reedy
More information about the Python-Dev
mailing list