mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-08-04 04:10:09 +03:00
lib/pool -- quick_cursor -- shouldnt b a property
This commit is contained in:
parent
c54083a883
commit
e1c850ce2f
|
@ -123,7 +123,6 @@ class AbstractConnectionPool(object):
|
|||
del self._used[key]
|
||||
del self._rused[id(conn)]
|
||||
|
||||
@property
|
||||
@contextmanager
|
||||
def quick_cursor(self):
|
||||
"""A ContextManager for quickly getting a cursor"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user