2 Apr
2009
2 Apr
'09
7:07 p.m.
Dieter Maurer wrote:
Be aware, however, that this replacing takes effect only after your assignment. Modules that already have imported the "DateTime" class will not be affected.
Yes, but you can replace them in the same way... Just make sure you wrap in a try/finally so you un-replace no matter what happens... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk