Assigning 'nochage' to a variable.

Bengt Richter bokr at oz.net
Mon Sep 5 07:44:32 EDT 2005


On 5 Sep 2005 02:19:05 -0700, "cjfrovik at gmail.com" <bittervine at gmail.com> wrote:

>Thanks for the suggestions, although I'll probably continue to use:
>
> var1 = 17
> var1 = func1(var1)
> print var1
>
>and have func1 return the input value if no change is required.
>It's *almost* as nice as if there was a Nochange value available..
>
>BR /CF
>
This seems to me a tiny snippet from a larger context, like maybe
simulating tranfer of info between circuits attached to a bus.
Posting tiny excerpts can only get you help with that, which in
the larger context might be fine or not, but no one can say ;-)

Regards,
Bengt Richter



More information about the Python-list mailing list