[Zope3-checkins] CVS: ZODB3/ZConfig - Context.py:1.16
Guido van Rossum
guido@python.org
Thu, 2 Jan 2003 13:24:18 -0500
Update of /cvs-repository/ZODB3/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv29151
Modified Files:
Context.py
Log Message:
Add loadURL() as a forward-compatible alias for load().
=== ZODB3/ZConfig/Context.py 1.15 => 1.16 ===
--- ZODB3/ZConfig/Context.py:1.15 Thu Dec 5 00:17:45 2002
+++ ZODB3/ZConfig/Context.py Thu Jan 2 13:24:14 2003
@@ -67,6 +67,8 @@
self._finish()
return top
+ loadURL = load # Forward-compatible alias
+
def loadfile(self, file, url=None):
if not url:
name = getattr(file, "name", None)