Explicit the fact that closed connections have undefined status

This commit is contained in:
Daniele Varrazzo 2014-04-03 02:07:38 +01:00
parent eddb0e3d90
commit 863a89228c

View File

@ -592,6 +592,8 @@ The ``connection`` class
`psycopg2.extensions`: see :ref:`connection-status-constants` `psycopg2.extensions`: see :ref:`connection-status-constants`
for the available values. for the available values.
The status is undefined for `closed` connectons.
.. method:: lobject([oid [, mode [, new_oid [, new_file [, lobject_factory]]]]]) .. method:: lobject([oid [, mode [, new_oid [, new_file [, lobject_factory]]]]])