summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2005-11-26 07:47:48 +0000
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2005-11-26 07:47:48 +0000
commitad76b5ba3cc01b658e31fb3c4e94340ba0f884d9 (patch)
tree0d6cb668b60959bb67b90508e9e1191e470fb6af /lib
parent62e4870b85627e005746aa5c50327dad801164d6 (diff)
downloadpsycopg2-ad76b5ba3cc01b658e31fb3c4e94340ba0f884d9.tar.gz
* psycopg/psycopgmodule.c: fixed exceptions refcount.
* fixed lots of doctrings and added Epydoc-generated docs support.
Diffstat (limited to 'lib')
-rw-r--r--lib/extensions.py10
-rw-r--r--lib/tz.py2
2 files changed, 7 insertions, 5 deletions
diff --git a/lib/extensions.py b/lib/extensions.py
index 258a4c8..3257a16 100644
--- a/lib/extensions.py
+++ b/lib/extensions.py
@@ -2,10 +2,12 @@
This module holds all the extensions to the DBAPI-2.0 provided by psycopg.
- - connection -- the new-type inheritable connection class
- - cursor -- the new-type inheritable cursor class
- - adapt() -- exposes the PEP-246 compatile adapting machanism used
- by psycopg to adapt Python types to PostgreSQL ones
+- `connection` -- the new-type inheritable connection class
+- `cursor` -- the new-type inheritable cursor class
+- `adapt()` -- exposes the PEP-246_ compatile adapting machanism used
+ by psycopg to adapt Python types to PostgreSQL ones
+
+.. _PEP-246: http://www.python.org/peps/pep-0246.html
"""
# psycopg/extensions.py - DBAPI-2.0 extensions specific to psycopg
#
diff --git a/lib/tz.py b/lib/tz.py
index 8b92318..e521b6d 100644
--- a/lib/tz.py
+++ b/lib/tz.py
@@ -1,6 +1,6 @@
"""tzinfo implementations for psycopg2
-This module holds twi different tzinfo implementations that can be used as
+This module holds two different tzinfo implementations that can be used as
the 'tzinfo' argument to datetime constructors, directly passed to psycopg
functions or used to set the .tzinfo_factory attribute in cursors.
"""