[Zope3-checkins] CVS: Zope3/src/zope/app - zapi.py:1.5

Guido van Rossum guido@python.org
Tue, 3 Jun 2003 15:50:03 -0400


Update of /cvs-repository/Zope3/src/zope/app
In directory cvs.zope.org:/tmp/cvs-serv13815

Modified Files:
	zapi.py 
Log Message:
Don't use 'object' as an argument name (it's also a class name).


=== Zope3/src/zope/app/zapi.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/zapi.py:1.4	Tue Jun  3 15:43:43 2003
+++ Zope3/src/zope/app/zapi.py	Tue Jun  3 15:50:02 2003
@@ -30,8 +30,8 @@
 from zope.app.context import *
 from zope.app.traversing import *
 
-def name(object):
-    data = getWrapperData(object)
+def name(obj):
+    data = getWrapperData(obj)
     if data:
         return data.get('name')
     else: