From b6d337c1474eabdc439b8819ef9a19040d07631a Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Wed, 8 Dec 2021 03:51:48 +0100 Subject: [PATCH] Fix a couple of typos in pool docs --- docs/api/pool.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/pool.rst b/docs/api/pool.rst index 466d28a18..3604c614e 100644 --- a/docs/api/pool.rst +++ b/docs/api/pool.rst @@ -21,7 +21,7 @@ yields `~psycopg.AsyncConnection` instances. The intended (but not mandatory) use is to create a single connection pool, as a global object exposed by a module in your application, and use the same instance from the rest of the code (especially the -`~ConnectionPool.connection()` method. +`ConnectionPool.connection()` method). .. note:: The `!psycopg_pool` package is distributed separately from the main `psycopg` package: use ``pip install psycopg[pool]`` or ``pip install @@ -33,7 +33,7 @@ The `!ConnectionPool` class .. autoclass:: ConnectionPool(conninfo, *, **arguments) - This class implements a connection pool serving `~psycopg2.Connection` + This class implements a connection pool serving `~psycopg.Connection` instances (or subclasses). The constructor has *alot* of arguments, but only *conninfo* and *min_size* are the fundamental ones, all the other arguments have meaningful defaults and can probably be tweaked later, if -- 2.47.2