[Zodb-checkins] CVS: Zope3/lib/python/Interface - IInterface.py:1.6
Steve Alexander
steve@cat-box.net
Fri, 8 Nov 2002 06:05:08 -0500
Update of /cvs-repository/Zope3/lib/python/Interface
In directory cvs.zope.org:/tmp/cvs-serv12937
Modified Files:
IInterface.py
Log Message:
corrected typos. normalised formatting.
=== Zope3/lib/python/Interface/IInterface.py 1.5 => 1.6 ===
--- Zope3/lib/python/Interface/IInterface.py:1.5 Thu Oct 3 15:44:23 2002
+++ Zope3/lib/python/Interface/IInterface.py Fri Nov 8 06:05:06 2002
@@ -150,7 +150,7 @@
"""
def isImplementedBy(object):
- """Test whether the interface is implemented by the object.
+ """Test whether the interface is implemented by the object
Return true of the object asserts that it implements the
interface, including asseting that it implements an extended
@@ -164,8 +164,9 @@
interface, including asseting that they implement an extended
interface.
"""
+
def names(all=0):
- """Get the interface attribute names.
+ """Get the interface attribute names
Return a sequence of the names of the attributes, including
methods, included in the interface definition.
@@ -176,7 +177,7 @@
"""
def namesAndDescriptions(all=0):
- """Get the interface attribute names and descriptions.
+ """Get the interface attribute names and descriptions
Return a sequence of the names and descriptions of the
attributes, including methods, as name-value pairs, included
@@ -190,8 +191,7 @@
def getDescriptionFor(name):
"""Get the description for a name
- If the named attribute is not defines, a KeyError is raised.
-
+ If the named attribute is not defined, a KeyError is raised.
"""
__getitem__ = getDescriptionFor
@@ -201,7 +201,6 @@
If the named attribute is not defined, the default is
returned.
-
"""
get = queryDescriptionFor