Author: cito
Date: Tue Jan 12 08:44:48 2016
New Revision: 723

Log:
Minor fixes and additions in the docs

Modified:
   branches/4.x/docs/contents/pg/db_wrapper.rst
   trunk/docs/contents/pg/db_wrapper.rst
   trunk/docs/contents/postgres/basic.rst
   trunk/pg.py

Modified: branches/4.x/docs/contents/pg/db_wrapper.rst
==============================================================================
--- branches/4.x/docs/contents/pg/db_wrapper.rst        Tue Jan 12 08:28:43 
2016        (r722)
+++ branches/4.x/docs/contents/pg/db_wrapper.rst        Tue Jan 12 08:44:48 
2016        (r723)
@@ -138,6 +138,8 @@
 
 Returns True if the current user has the specified privilege for the table.
 
+.. versionadded:: 4.1
+
 get -- get a row from a database table or view
 ----------------------------------------------
 

Modified: trunk/docs/contents/pg/db_wrapper.rst
==============================================================================
--- trunk/docs/contents/pg/db_wrapper.rst       Tue Jan 12 08:28:43 2016        
(r722)
+++ trunk/docs/contents/pg/db_wrapper.rst       Tue Jan 12 08:44:48 2016        
(r723)
@@ -138,6 +138,8 @@
 
 Returns True if the current user has the specified privilege for the table.
 
+.. versionadded:: 4.0
+
 get -- get a row from a database table or view
 ----------------------------------------------
 

Modified: trunk/docs/contents/postgres/basic.rst
==============================================================================
--- trunk/docs/contents/postgres/basic.rst      Tue Jan 12 08:28:43 2016        
(r722)
+++ trunk/docs/contents/postgres/basic.rst      Tue Jan 12 08:44:48 2016        
(r723)
@@ -168,7 +168,7 @@
 Here we used pprint to print out the returned list in a nicely formatted way.
 
 If you want to retrieve the results as a list of dictionaries instead of
-tuples, use the :meth:`pgqueryobject.dictresult` method instead::
+tuples, use the :meth:`Query.dictresult` method instead::
 
     >>> pprint(q.dictresult())
     [{'city': 'San Francisco',
@@ -183,8 +183,8 @@
       'temp_lo': 37}]
 
 Finally, you can also retrieve the results as a list of named tuples, using
-the :meth:`pgqueryobject.namedresult` method. This can be a good compromise
-between simple tuples and the more memory intensive dictionaries:
+the :meth:`Query.namedresult` method. This can be a good compromise between
+simple tuples and the more memory intensive dictionaries:
 
     >>> for row in q.namedresult():
     ...     print(row.city, row.date)

Modified: trunk/pg.py
==============================================================================
--- trunk/pg.py Tue Jan 12 08:28:43 2016        (r722)
+++ trunk/pg.py Tue Jan 12 08:44:48 2016        (r723)
@@ -542,7 +542,7 @@
         number of rows affected is returned as a string. If it is a statement
         that returns rows as a result (usually a select statement, but maybe
         also an "insert/update ... returning" statement), this method returns
-        a pgqueryobject that can be accessed via getresult() or dictresult()
+        a Query object that can be accessed via getresult() or dictresult()
         or simply printed. Otherwise, it returns `None`.
 
         The query can contain numbered parameters of the form $1 in place
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql

Reply via email to