]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
chore: fix typo in comment
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 27 May 2024 14:20:38 +0000 (16:20 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 27 May 2024 14:20:38 +0000 (16:20 +0200)
psycopg/psycopg/_queries.py

index dc2e5a67e29d990aa621cbce4798594f38aaf14c..947b51a9ed56a59e9e1393c2e3e0886bb181ab98 100644 (file)
@@ -387,7 +387,7 @@ def _split_query(
                 f" '{query[m.span(0)[0]:].split()[0].decode(encoding)}'"
             )
         elif ph == b"% ":
-            # explicit messasge for a typical error
+            # explicit message for a typical error
             raise e.ProgrammingError(
                 "incomplete placeholder: '%'; if you want to use '%' as an"
                 " operator you can double it up, i.e. use '%%'"