summaryrefslogtreecommitdiff
path: root/doc/src/extensions.rst
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2018-10-11 23:55:36 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2018-10-12 03:25:06 +0100
commit9ddf59959fedb9b29d82436bda5726b76d29a958 (patch)
treefd0ffaa203d28baebd8ec7fd90b7e97ad5153121 /doc/src/extensions.rst
parent0e2b516a3cc454fc762a17c847979bed799a7b1c (diff)
downloadpsycopg2-9ddf59959fedb9b29d82436bda5726b76d29a958.tar.gz
Adding ConnectionInfo object documentation
I'm still fought whether docs should be in the C module or in the .rst. I'd prefer the first because DRY, but writing multiline strings in C really sucks.
Diffstat (limited to 'doc/src/extensions.rst')
-rw-r--r--doc/src/extensions.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/extensions.rst b/doc/src/extensions.rst
index 159774b..520858c 100644
--- a/doc/src/extensions.rst
+++ b/doc/src/extensions.rst
@@ -154,6 +154,15 @@ introspection etc.
Close the object and remove it from the database.
+
+.. autoclass:: ConnectionInfo
+
+ .. versionadded:: 2.8
+
+ .. autoattribute:: host
+
+
+
.. class:: Column
Description of one result column, exposed as items of the