[Zope-Checkins] CVS: Packages/ZPublisher - Iterators.py:1.1.4.4
Chris McDonough
chrism at plope.com
Wed Jan 26 00:27:05 EST 2005
Update of /cvs-repository/Packages/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv21312
Modified Files:
Tag: Zope-2_7-branch
Iterators.py
Log Message:
The IStreamIterator interface had inappropriate self arguments defined in its method defs.
=== Packages/ZPublisher/Iterators.py 1.1.4.3 => 1.1.4.4 ===
--- Packages/ZPublisher/Iterators.py:1.1.4.3 Mon Jan 10 08:44:15 2005
+++ Packages/ZPublisher/Iterators.py Wed Jan 26 00:26:30 2005
@@ -14,13 +14,13 @@
but it has a chance of going insane if it happens to be loading
or storing something in the other thread at the same time. """
- def next(self):
+ def next():
"""
Return a sequence of bytes out of the bytestream, or raise
StopIeration if we've reached the end of the bytestream.
"""
- def __len__(self):
+ def __len__():
"""
Return an integer representing the length of the object
in bytes.
More information about the Zope-Checkins
mailing list