From: Daniele Varrazzo Date: Mon, 27 May 2024 14:20:38 +0000 (+0200) Subject: chore: fix typo in comment X-Git-Tag: pool-3.2.3~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ea2758099065234e94010eaac676f096d38c8e9;p=thirdparty%2Fpsycopg.git chore: fix typo in comment --- diff --git a/psycopg/psycopg/_queries.py b/psycopg/psycopg/_queries.py index dc2e5a67e..947b51a9e 100644 --- a/psycopg/psycopg/_queries.py +++ b/psycopg/psycopg/_queries.py @@ -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 '%%'"