Author: cito
Date: Wed Dec 30 15:55:07 2015
New Revision: 677
Log:
Fix some class names in pgdb docs
Modified:
branches/4.x/docs/pgdb.rst
trunk/docs/pgdb.rst
Modified: branches/4.x/docs/pgdb.rst
==============================================================================
--- branches/4.x/docs/pgdb.rst Wed Dec 30 15:47:58 2015 (r676)
+++ branches/4.x/docs/pgdb.rst Wed Dec 30 15:55:07 2015 (r677)
@@ -204,7 +204,7 @@
pgdbCursor -- The cursor object
===============================
-.. class:: pgdb.Cursor
+.. class:: pgdbCursor
These objects represent a database cursor, which is used to manage the context
of a fetch operation. Cursors created from the same connection are not
@@ -215,14 +215,14 @@
Cursor objects respond to the following methods and attributes.
-Note that ``pgdb.Cursor`` objects also implement both the iterator and the
+Note that ``pgdbCursor`` objects also implement both the iterator and the
context manager protocol, i.e. you can iterate over them and you can use them
in a ``with`` statement.
description -- details regarding the result columns
---------------------------------------------------
-.. attribute:: Cursor.description
+.. attribute:: pgdbCursor.description
This read-only attribute is a sequence of 7-item sequences.
@@ -245,7 +245,7 @@
rowcount -- number of rows of the result
----------------------------------------
-.. attribute:: Cursor.rowcount
+.. attribute:: pgdbCursor.rowcount
This read-only attribute specifies the number of rows that the last
:meth:`pgdbCursor.execute` or :meth:`pgdbCursor.executemany` call produced
@@ -412,6 +412,8 @@
pgdbType -- Type objects and constructors
=========================================
+.. class:: pgdbType
+
The :attr:`pgdbCursor.description` attribute returns information about each
of the result columns of a query. The *type_code* must compare equal to one
of the :class:`pgdbType` objects defined below. Type objects can be equal to
Modified: trunk/docs/pgdb.rst
==============================================================================
--- trunk/docs/pgdb.rst Wed Dec 30 15:47:58 2015 (r676)
+++ trunk/docs/pgdb.rst Wed Dec 30 15:55:07 2015 (r677)
@@ -204,7 +204,7 @@
pgdbCursor -- The cursor object
===============================
-.. class:: pgdb.Cursor
+.. class:: pgdbCursor
These objects represent a database cursor, which is used to manage the context
of a fetch operation. Cursors created from the same connection are not
@@ -215,14 +215,14 @@
Cursor objects respond to the following methods and attributes.
-Note that ``pgdb.Cursor`` objects also implement both the iterator and the
+Note that ``pgdbCursor`` objects also implement both the iterator and the
context manager protocol, i.e. you can iterate over them and you can use them
in a ``with`` statement.
description -- details regarding the result columns
---------------------------------------------------
-.. attribute:: Cursor.description
+.. attribute:: pgdbCursor.description
This read-only attribute is a sequence of 7-item sequences.
@@ -245,7 +245,7 @@
rowcount -- number of rows of the result
----------------------------------------
-.. attribute:: Cursor.rowcount
+.. attribute:: pgdbCursor.rowcount
This read-only attribute specifies the number of rows that the last
:meth:`pgdbCursor.execute` or :meth:`pgdbCursor.executemany` call produced
@@ -412,6 +412,8 @@
pgdbType -- Type objects and constructors
=========================================
+.. class:: pgdbType
+
The :attr:`pgdbCursor.description` attribute returns information about each
of the result columns of a query. The *type_code* must compare equal to one
of the :class:`pgdbType` objects defined below. Type objects can be equal to
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql