import concerns (was Re: Historical language survey)
Kirk McDonald
kirklin.mcdonald at gmail.com
Sun Jul 9 20:31:10 PDT 2006
Tydr Schnubbis wrote:
> Derek Parnell wrote:
>
>>> The point is you can list multiple names from the module without
>>> repeating the module name:
>>>
>>> import MyModule with foo, baz;
>>>
>>> And "with" is already a keyword.
>>
>>
>> So what? But if you did want to reuse the "with" keyword why not use
>> it in the same manner...
>>
>> with MyModule import foo, baz;
>>
>
> This is starting to look a lot like Python syntax:
>
[snip]
That's where it came from in the first place. :-)
--
Kirk McDonald
Pyd: Wrapping Python with D
http://dsource.org/projects/pyd/wiki
More information about the Digitalmars-d
mailing list