[Zodb-checkins] CVS: Zope3/src/zope/interface - document.py:1.3 interfaces.py:1.9 verify.py:1.4
Albertas Agejevas
alga@codeworks.lt
Thu, 13 Mar 2003 13:49:45 -0500
Update of /cvs-repository/Zope3/src/zope/interface
In directory cvs.zope.org:/tmp/cvs-serv1411/src/zope/interface
Modified Files:
document.py interfaces.py verify.py
Log Message:
An unexpected raid by the Whitespace Police.
Other than fixes of nonconforming whitespace, just a couple of $Id$
docstrings has been added.
=== Zope3/src/zope/interface/document.py 1.2 => 1.3 ===
--- Zope3/src/zope/interface/document.py:1.2 Wed Dec 25 09:13:42 2002
+++ Zope3/src/zope/interface/document.py Thu Mar 13 13:49:14 2003
@@ -113,6 +113,6 @@
text = text.replace("\r\n", "\n").split("\n")
for line in text:
- lines.append( (" " * level) + line)
+ lines.append((" " * level) + line)
return '\n'.join(lines)
=== Zope3/src/zope/interface/interfaces.py 1.8 => 1.9 ===
--- Zope3/src/zope/interface/interfaces.py:1.8 Mon Feb 3 12:29:12 2003
+++ Zope3/src/zope/interface/interfaces.py Thu Mar 13 13:49:14 2003
@@ -466,7 +466,7 @@
The getImplements argument is a hook that will be called if a
certian experimental (and soon to be removed) feature is used
in the interface specification.
-
+
This method will soon be depricated.
"""
@@ -541,7 +541,7 @@
If a class is provided as the first argument, then the
assertion will be made bout that class.
-
+
"""
def provides(object, *interfaces):
@@ -550,7 +550,7 @@
XXX Modules?
"""
-
+
def implementsLike(class_):
""
@@ -558,6 +558,3 @@
def implementsAdditional(ob, ):
pass
-
-
-
=== Zope3/src/zope/interface/verify.py 1.3 => 1.4 ===
--- Zope3/src/zope/interface/verify.py:1.3 Mon Jan 20 15:00:13 2003
+++ Zope3/src/zope/interface/verify.py Thu Mar 13 13:49:14 2003
@@ -39,7 +39,7 @@
else:
tester = iface.isImplementedBy
- if not tentative and not tester( candidate ):
+ if not tentative and not tester(candidate):
raise DoesNotImplement(iface)
for n, d in iface.namesAndDescriptions(1):