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)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to