From: Daniele Varrazzo Date: Mon, 8 Sep 2025 11:06:44 +0000 (+0200) Subject: fix: typo in notifications warning X-Git-Tag: 3.3.0.dev1^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b675b1ae128a5218f588dad8920582339d5c6ce;p=thirdparty%2Fpsycopg.git fix: typo in notifications warning --- diff --git a/psycopg/psycopg/connection.py b/psycopg/psycopg/connection.py index 9e7872ae3..1b2e53886 100644 --- a/psycopg/psycopg/connection.py +++ b/psycopg/psycopg/connection.py @@ -380,7 +380,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 85eb134b7..c51a535c3 100644 --- a/psycopg/psycopg/connection_async.py +++ b/psycopg/psycopg/connection_async.py @@ -412,7 +412,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, )