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:
Daniele Varrazzo 2014-04-05 13:37:42 +01:00
parent 12c2fafa86
commit 75b98b561b

View File

@ -295,8 +295,8 @@ The ``connection`` class
.. attribute:: closed .. attribute:: closed
Read-only attribute reporting whether the database connection is open Read-only integer attribute: 0 if the connection is open, nonzero if
(0) or closed (1). it is closed or broken.
.. method:: cancel .. method:: cancel