[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces - zapi.py:1.6
Guido van Rossum
guido@python.org
Tue, 3 Jun 2003 15:50:41 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces
In directory cvs.zope.org:/tmp/cvs-serv13903
Modified Files:
zapi.py
Log Message:
Don't use 'object' as an argument name (it's also a class name).
=== Zope3/src/zope/app/interfaces/zapi.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/interfaces/zapi.py:1.5 Tue Jun 3 15:43:43 2003
+++ Zope3/src/zope/app/interfaces/zapi.py Tue Jun 3 15:50:41 2003
@@ -29,8 +29,8 @@
"""Convenience API for use with Zope applications.
"""
- def name(object):
- """Return the object's name
+ def name(obj):
+ """Return an object's name
This is the name the object is stored under in the container
it was accessed in. If the name is unknown, None is returned.