With or Using
Roman Suzi
rnd at onego.ru
Tue May 1 07:08:23 EDT 2001
On Tue, 1 May 2001, Fredrik Lundh wrote:
>Roman Suzi wrote:
>> Or, if subject allow it:
>>
>> def with(subject, **args):
>> subject.__dict__(args) # or special method could be used
>
Ooops!
>you mean subject.__dict__.update(args), right?
Of course. Or it could be:
subject.update(args)
>
>Cheers /F
>
>
>
Sincerely yours, Roman Suzi
--
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Tuesday, May 01, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "Caterpillar: Scratching post." _/
More information about the Python-list
mailing list