[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/apidoc/classmodule/__init__.py
For some reason I had to conditionalize this cleanup.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Jul 2 20:52:14 EDT 2004
Log message for revision 26088:
For some reason I had to conditionalize this cleanup.
-=-
Modified: Zope3/trunk/src/zope/app/apidoc/classmodule/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/apidoc/classmodule/__init__.py 2004-07-03 00:40:45 UTC (rev 26087)
+++ Zope3/trunk/src/zope/app/apidoc/classmodule/__init__.py 2004-07-03 00:52:14 UTC (rev 26088)
@@ -684,7 +684,8 @@
Cleanup
- >>> del sys.modules['shelve']
+ >>> if 'shelve' in sys.modules.keys():
+ ... del sys.modules['shelve']
"""
module = sys.modules.get(path, default)
if module is default:
More information about the Zope3-Checkins
mailing list