inheriting from datetime
rafi at free.fr
Mon Aug 1 23:14:43 CEST 2005
Rob Conner wrote:
> So this is simple, why can't I run the following code? I've tried many
> variances of this, but simply cannot inherit from datetime or
> datetime.datetime. I get this on line 3.
> TypeError: function takes at most 2 arguments (3 given)
line 3 of the following code or line 3 of the use of the code?
on my box it runs, except that ValueError is not caught by the except.
side question: what is the point of accepting invalid dates?
"Imagination is more important than knowledge."
More information about the Python-list