[Zodb-checkins] CVS: Zope3/lib/python/Interface - Exceptions.py:1.10 IInterface.py:1.5
Florent Guillaume
fg@nuxeo.com
Thu, 3 Oct 2002 15:44:55 -0400
Update of /cvs-repository/Zope3/lib/python/Interface
In directory cvs.zope.org:/tmp/cvs-serv23573/lib/python/Interface
Modified Files:
Exceptions.py IInterface.py
Log Message:
Fixed pervasive it's/its grammatical error in comments or docstrings.
=== Zope3/lib/python/Interface/Exceptions.py 1.9 => 1.10 ===
--- Zope3/lib/python/Interface/Exceptions.py:1.9 Mon Jun 10 19:27:40 2002
+++ Zope3/lib/python/Interface/Exceptions.py Thu Oct 3 15:44:23 2002
@@ -45,7 +45,7 @@
self.mess=mess
def __str__(self):
- return """The implementation of %(method)s violates it's contract
+ return """The implementation of %(method)s violates its contract
because %(mess)s.
""" % self.__dict__
=== Zope3/lib/python/Interface/IInterface.py 1.4 => 1.5 ===
--- Zope3/lib/python/Interface/IInterface.py:1.4 Mon Jul 1 14:11:59 2002
+++ Zope3/lib/python/Interface/IInterface.py Thu Oct 3 15:44:23 2002
@@ -100,8 +100,8 @@
'__class_implements__' attribute in the class definition.
**Important**: A class usually doesn't implement the
- interfaces that it's instances implement. The class and
- it's instances are separate objects with their own
+ interfaces that its instances implement. The class and
+ its instances are separate objects with their own
interfaces.
3. Call 'Interface.Implements.implements' to assert that instances
@@ -115,7 +115,7 @@
This is approach is useful when it is not an option to modify
the class source. Note that this doesn't affect what the
- class itself implements, but only what it's instances
+ class itself implements, but only what its instances
implement.
4. For types that can't be modified, you can assert that
@@ -160,7 +160,7 @@
def isImplementedByInstancesOf(class_):
"""Test whether the interface is implemented by instances of the class
- Return true of the class asserts that it's instances implement the
+ Return true of the class asserts that its instances implement the
interface, including asseting that they implement an extended
interface.
"""