summaryrefslogtreecommitdiff
path: root/doc/src/advanced.rst
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-03-03 18:43:24 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-03-03 18:43:24 +0100
commit99620c1454da2181bf30e0c3a2772b6645be83b1 (patch)
treed6636d8a7f0226a60b376a57a54490651612cdb0 /doc/src/advanced.rst
parent855674faf15ae486d42a9081cf55647c1e1e10c3 (diff)
downloadpsycopg2-99620c1454da2181bf30e0c3a2772b6645be83b1.tar.gz
A bunch of typo fixed in the docs
Diffstat (limited to 'doc/src/advanced.rst')
-rw-r--r--doc/src/advanced.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/advanced.rst b/doc/src/advanced.rst
index 4036064..2801a2d 100644
--- a/doc/src/advanced.rst
+++ b/doc/src/advanced.rst
@@ -149,7 +149,7 @@ column of the `cursor.description`:
>>> point_oid
600
-or by querying the system catalogs for the type name and namespace (the
+or by querying the system catalog for the type name and namespace (the
namespace for system objects is :sql:`pg_catalog`):
>>> cur.execute("""
@@ -163,7 +163,7 @@ namespace for system objects is :sql:`pg_catalog`):
>>> point_oid
600
-After you know the object OID, you must can and register the new type:
+After you know the object OID, you can create and register the new type:
>>> POINT = psycopg2.extensions.new_type((point_oid,), "POINT", cast_point)
>>> psycopg2.extensions.register_type(POINT)