[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/RDB - ICursor.py:1.3
Jim Fulton
jim@zope.com
Fri, 18 Oct 2002 05:54:22 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/RDB
In directory cvs.zope.org:/tmp/cvs-serv14974
Modified Files:
ICursor.py
Log Message:
Fixed some bugs that prevented this module from being importable.
This module isn't used. Is it a decoy?
The interface is refered to in a doc string, so maybe it's
still needed for documentation purposes and will be imported
later.
=== Zope3/lib/python/Zope/App/RDB/ICursor.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/RDB/ICursor.py:1.2 Wed Jul 10 19:37:26 2002
+++ Zope3/lib/python/Zope/App/RDB/ICursor.py Fri Oct 18 05:54:22 2002
@@ -15,7 +15,8 @@
$Id$
"""
-from Interface import Interface, Attribute
+from Interface import Interface
+from Interface.Attribute import Attribute
class ICursor(Interface):
"""DB API ICursor interface"""
@@ -97,7 +98,7 @@
executeXXX() did not produce any result set or no call was issued yet.
"""
- def fetchmany(size=ICursor.arraysize):
+ def fetchmany(size=arraysize):
"""Fetch the next set of rows of a query result, returning a sequence
of sequences (e.g. a list of tuples). An empty sequence is returned
when no more rows are available.