[Python-Dev] Re: dict.setdefault() (Patch#101102)
Peter Schneider-Kamp
nowonder@nowonder.de
Wed, 09 Aug 2000 15:19:02 +0000
Tim Peters wrote:
>
> But it doesn't need to be, right? That is, change the stuff following
> 'import' in
>
> 'from' dotted_name 'import' ('*' | NAME (',' NAME)*)
>
> to
>
> ('*' | NAME [NAME NAME] (',' NAME [NAME NAME])*)
What about doing the same for the regular import?
import_stmt: 'import' dotted_name [NAME NAME] (',' dotted_name [NAME
NAME])* | 'from' dotted_name 'import' ('*' | NAME (',' NAME)*)
"import as as as"-isn't-that-impressive-though-ly y'rs
Peter
--
Peter Schneider-Kamp ++47-7388-7331
Herman Krags veg 51-11 mailto:peter@schneider-kamp.de
N-7050 Trondheim http://schneider-kamp.de