]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Fix a couple of typos in pool docs
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 8 Dec 2021 02:51:48 +0000 (03:51 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 8 Dec 2021 02:52:35 +0000 (03:52 +0100)
docs/api/pool.rst

index 466d28a18ab739181a7836ec1100b1b94a249c44..3604c614e9fa231e1960726516b739c289ed1e82 100644 (file)
@@ -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