From: Daniele Varrazzo Date: Mon, 8 Sep 2025 11:06:44 +0000 (+0200) Subject: fix: typo in notifications warning X-Git-Tag: 3.2.11~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=66d871677f6487d4ddc6bd692a1b4beed8973e40;p=thirdparty%2Fpsycopg.git fix: typo in notifications warning --- diff --git a/psycopg/psycopg/connection.py b/psycopg/psycopg/connection.py index f6af3edc3..154fbfd3b 100644 --- a/psycopg/psycopg/connection.py +++ b/psycopg/psycopg/connection.py @@ -356,7 +356,7 @@ class Connection(BaseConnection[Row]): if self._notify_handlers: warnings.warn( - "using 'notifies()' together with notifies handlers on the same connection is not reliable. Please use only one of thees methods", + "using 'notifies()' together with notifies handlers on the same connection is not reliable. Please use only one of these methods", RuntimeWarning, ) diff --git a/psycopg/psycopg/connection_async.py b/psycopg/psycopg/connection_async.py index 28e369191..d75f6b6b0 100644 --- a/psycopg/psycopg/connection_async.py +++ b/psycopg/psycopg/connection_async.py @@ -387,7 +387,7 @@ class AsyncConnection(BaseConnection[Row]): warnings.warn( "using 'notifies()' together with notifies handlers on the" " same connection is not reliable." - " Please use only one of thees methods", + " Please use only one of these methods", RuntimeWarning, )