]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
docs: fix errors in template strings docs
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 27 May 2025 16:34:29 +0000 (17:34 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 27 May 2025 16:35:41 +0000 (17:35 +0100)
docs/basic/tstrings.rst

index 9adabd2ebd9b9fc58ca91b1a27a4697cc2ae0c51..b6496eabc2e8a128efd8409fe553f0f13b94f8a9 100644 (file)
@@ -71,11 +71,10 @@ Format specifiers
 
 Format specifiers can be associated to template strings interpolation using a
 ``:`` in the placeholder, for example in ``{id:b}``. Psycopg supports a few
-format specifiers specifying `how to pass a parameter to the server`__ and a few
-format specifiers specifying how to compose query parts on the client, in a
-way similar to what can be obtained using the `psycopg.sql` objects.
-
-.. __: http://localhost:8000/basic/params.html#binary-parameters-and-results
+format specifiers specifying :ref:`how to pass a parameter to the server
+<binary-data>` and a few format specifiers specifying how to compose query
+parts on the client, in a way similar to what can be obtained using the
+`psycopg.sql` objects.
 
 The supported specifiers for parameter formats are:
 
@@ -114,7 +113,7 @@ hence with single quotes).
 .. _NOTIFY: https://www.postgresql.org/docs/current/sql-notify.html
 
 The :sql:`NOTIFY` command cannot be parametrized by PostgreSQL, so it must be
-composed entirely on the server side. Using template strings this could be as
+composed entirely on the client side. Using template strings this could be as
 simple as:
 
 .. code:: python