Author: cito
Date: Fri Nov 20 13:45:01 2015
New Revision: 563
Log:
Small corrections in the docs
Modified:
branches/4.x/docs/pg.txt
branches/4.x/module/pg.py
trunk/docs/pg.txt
trunk/module/pg.py
Modified: branches/4.x/docs/pg.txt
==============================================================================
--- branches/4.x/docs/pg.txt Fri Nov 20 12:34:47 2015 (r562)
+++ branches/4.x/docs/pg.txt Fri Nov 20 13:45:01 2015 (r563)
@@ -457,7 +457,7 @@
insert statement that inserted exactly one row into a table that has OIDs,
the
return value is the OID of the newly inserted row. If the query is an update
or delete statement, or an insert statement that did not insert exactly one
- row in a table with OIDs, then the numer of rows affected is returned as a
+ row in a table with OIDs, then the 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 the `getresult()`,
Modified: branches/4.x/module/pg.py
==============================================================================
--- branches/4.x/module/pg.py Fri Nov 20 12:34:47 2015 (r562)
+++ branches/4.x/module/pg.py Fri Nov 20 13:45:01 2015 (r563)
@@ -47,7 +47,7 @@
namedtuple = None
-# Auxiliary functions which are independent from a DB connection:
+# Auxiliary functions that are independent of a DB connection:
def _is_quoted(s):
"""Check whether this string is a quoted identifier."""
Modified: trunk/docs/pg.txt
==============================================================================
--- trunk/docs/pg.txt Fri Nov 20 12:34:47 2015 (r562)
+++ trunk/docs/pg.txt Fri Nov 20 13:45:01 2015 (r563)
@@ -384,7 +384,7 @@
This function can be used to specify the Python class that shall be
used by PyGreSQL to hold PostgreSQL numeric values. The default class
is decimal.Decimal if available, otherwise the float type is used.
-
+
set_namedresult -- set a function that will convert to named tuples
-------------------------------------------------------------------
Syntax::
@@ -396,7 +396,7 @@
Description:
You can use this if you want to create different kinds of named tuples.
-
+
Module constants
----------------
@@ -457,7 +457,7 @@
insert statement that inserted exactly one row into a table that has OIDs,
the
return value is the OID of the newly inserted row. If the query is an update
or delete statement, or an insert statement that did not insert exactly one
- row in a table with OIDs, then the numer of rows affected is returned as a
+ row in a table with OIDs, then the 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 the `getresult()`,
Modified: trunk/module/pg.py
==============================================================================
--- trunk/module/pg.py Fri Nov 20 12:34:47 2015 (r562)
+++ trunk/module/pg.py Fri Nov 20 13:45:01 2015 (r563)
@@ -519,7 +519,7 @@
has OIDs, the return value is the OID of the newly inserted row.
If the query is an update or delete statement, or an insert statement
that did not insert exactly one row in a table with OIDs, then the
- numer of rows affected is returned as a string. If it is a statement
+ 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()
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql