mutable default parameter problem [Prothon]
Mark Hahn
mark at prothon.org
Thu Jun 17 17:07:00 EDT 2004
Christos TZOTZIOY Georgiou wrote:
> Dave's question is legitimate. Are you bragging about the two lines
> combined into one?
As I replied before to the same exact question, I didn't know that Python
could do the function attribute assignment outside of the function (yes it
was stupid of me) and I was bragging about taking six lines to three. It
turns out that Prothon can only improve it by one line. I also said I was
sorry in my very first posting. If you want me to repeat this a third time
I will.
More information about the Python-list
mailing list