From 66d871677f6487d4ddc6bd692a1b4beed8973e40 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Mon, 8 Sep 2025 13:06:44 +0200 Subject: [PATCH] fix: typo in notifications warning --- psycopg/psycopg/connection.py | 2 +- psycopg/psycopg/connection_async.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, ) -- 2.47.3