[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7782 - trunk/gnue-common/src/datasources/drivers/Base
From: |
reinhard |
Subject: |
[gnue] r7782 - trunk/gnue-common/src/datasources/drivers/Base |
Date: |
Thu, 4 Aug 2005 12:10:50 -0500 (CDT) |
Author: reinhard
Date: 2005-08-04 12:10:49 -0500 (Thu, 04 Aug 2005)
New Revision: 7782
Modified:
trunk/gnue-common/src/datasources/drivers/Base/ResultSet.py
Log:
Fixed docstrings.
Modified: trunk/gnue-common/src/datasources/drivers/Base/ResultSet.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/Base/ResultSet.py 2005-08-04
16:39:07 UTC (rev 7781)
+++ trunk/gnue-common/src/datasources/drivers/Base/ResultSet.py 2005-08-04
17:10:49 UTC (rev 7782)
@@ -243,7 +243,7 @@
@param record: the zero-based position of the record to return.
@return: the L{RecordSet.RecordSet} instance, or None if the given position
is higher than the number of records in the ResultSet.
- @except Exception: if the requested record is not yet in cache and fetching
+ @raise Exception: if the requested record is not yet in cache and fetching
it from the backend fails. The exact exception class depends on the
backend.
"""
@@ -272,7 +272,7 @@
The record pointer is not moved.
@param fields: Fieldnames of the fields to include in the array.
- @except Exception: if a record is not yet in cache and fetching it from the
+ @raise Exception: if a record is not yet in cache and fetching it from the
backend fails. The exact exception class depends on the backend.
"""
@@ -310,7 +310,7 @@
values are dictionaries with the value of the second keyfield as key,
and so on, until the last dictionary contains the fieldname/value pairs
for the fields given in the second parameter.
- @except Exception: if a record is not yet in cache and fetching it from the
+ @raise Exception: if a record is not yet in cache and fetching it from the
backend fails. The exact exception class depends on the backend.
"""
@@ -342,7 +342,7 @@
@return: the new current record as a L{RecordSet.RecordSet} instance, or
None if the resultset is empty.
- @except Exception: if the requested record is not yet in cache and fetching
+ @raise Exception: if the requested record is not yet in cache and fetching
it from the backend fails. The exact exception class depends on the
backend.
"""
@@ -379,7 +379,7 @@
@return: the new current record as a L{RecordSet.RecordSet} instance, or
None if the cursor already pointed to the last record.
- @except Exception: if the requested record is not yet in cache and fetching
+ @raise Exception: if the requested record is not yet in cache and fetching
it from the backend fails. The exact exception class depends on the
backend.
"""
@@ -397,7 +397,7 @@
@return: the new current record as a L{RecordSet.RecordSet} instance, or
None if the resultset is empty.
- @except Exception: if the requested record is not yet in cache and fetching
+ @raise Exception: if the requested record is not yet in cache and fetching
it from the backend fails. The exact exception class depends on the
backend.
"""
@@ -422,7 +422,7 @@
@return: the new current record as a L{RecordSet.RecordSet} instance, or
None if the record number to set the cursor to is greater than the number
of records in the resultset.
- @except Exception: if the requested record is not yet in cache and fetching
+ @raise Exception: if the requested record is not yet in cache and fetching
it from the backend fails. The exact exception class depends on the
backend.
"""
@@ -449,7 +449,7 @@
@param fieldValues: fieldname/value dictionary to search for.
@return: the first record that matches as a L{RecordSet.RecordSet} instance
or None if no match was found.
- @except Exception: if a record is not already in cache and fetching it from
+ @raise Exception: if a record is not already in cache and fetching it from
the backend fails. The exact exception class depends on the backend.
"""
checktype (fieldValues, dict)
@@ -494,7 +494,7 @@
"""
Return True if the cursor is at the last record.
- @except Exception: if the next record is not yet in cache and fetching it
+ @raise Exception: if the next record is not yet in cache and fetching it
from the backend fails. The exact exception class depends on the backend.
"""
if self.__currentRecord < len (self.__cachedRecords) - 1 or \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7782 - trunk/gnue-common/src/datasources/drivers/Base,
reinhard <=