Conventions for dummy name
Torsten Bronger
bronger at physik.rwth-aachen.de
Thu Jan 10 07:20:10 EST 2008
Hallöchen!
David.Reksten at sweco.no writes:
> Torsten Bronger wrote:
>
>> [...]
>>
>> Right, that's because I've used "__" where not all returning
>> values are interesing to me such as
>>
>> a, b, __ = function_that_returns_three_values(x, y)
>
> Variable name "dummy" serves the same purpose, such as:
>
> a, b, dummy = function_that_returns_three_values(x, y)
Granted, but my rationale is that "__" is less visible in the source
code, so there is more emphasis on the actually interesting
variables.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: bronger at jabber.org
(See http://ime.webhop.org for further contact info.)
More information about the Python-list
mailing list