inheriting from datetime
rafi
rafi at free.fr
Mon Aug 1 17:14:43 EDT 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?
--
rafi
"Imagination is more important than knowledge."
(Albert Einstein)
More information about the Python-list
mailing list