From cd67eb8c0e17b4aa80c4656e594b3a219d1ed8c4 Mon Sep 17 00:00:00 2001 From: Andrey Nehaychik Date: Thu, 29 Feb 2024 18:26:45 +0300 Subject: [PATCH] Fix description of returning connection in a pool for prepared statement --- asyncpg/pool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asyncpg/pool.py b/asyncpg/pool.py index 06e698df..6ae7f0fa 100644 --- a/asyncpg/pool.py +++ b/asyncpg/pool.py @@ -302,7 +302,7 @@ class Pool: Connection pool can be used to manage a set of connections to the database. Connections are first acquired from the pool, then used, and then released back to the pool. Once a connection is released, it's reset to close all - open cursors and other resources *except* prepared statements. + open cursors and other resources *including* prepared statements. Pools are created by calling :func:`~asyncpg.pool.create_pool`. """