[Python-checkins] CVS: python/nondist/sandbox/datetime test_datetime.py,1.30,1.31
Fred L. Drake, Jr.
fdrake@acm.org
Mon, 4 Mar 2002 16:08:14 -0500
Guido van Rossum writes:
> Fred seems to have started it by accident. His first testcase called
> datetime.new(...) as the constructor, but that was because in his mind
> 'datetime' was the module, not the class. I'll fix the TestCases page
At the time, none of the code existed, and it seemed a reasonable name
for it. Not being a Smalltalk programmer, I never guessed that
datetime.new() would be interpreted as a classmethod on a class. ;-)
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation