mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-14 21:16:34 +03:00
Don't specify 0 or 1 in closed docs
There's also 2 which means broken. But I prefer to leave that as implementation detail.
This commit is contained in:
parent
12c2fafa86
commit
75b98b561b
|
@ -295,8 +295,8 @@ The ``connection`` class
|
|||
|
||||
.. attribute:: closed
|
||||
|
||||
Read-only attribute reporting whether the database connection is open
|
||||
(0) or closed (1).
|
||||
Read-only integer attribute: 0 if the connection is open, nonzero if
|
||||
it is closed or broken.
|
||||
|
||||
|
||||
.. method:: cancel
|
||||
|
|
Loading…
Reference in New Issue
Block a user