Object default value

Paul McGuire ptmcg at austin.rr._bogus_.com
Tue Sep 20 16:38:25 EDT 2005


> I think you want to overload the assignment operator here. I'm not sure
that
> is allowed in python (I've never seen it done).

You can't because assignment is not an operator in Python.

Is it safe to assume that the OP's next question will be how to invoke
functions without the ()'s?  To save you the trouble, then answer is 'no'.

Python is simple, VB is simple, but Python is not VB.

-- Paul





More information about the Python-list mailing list