]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
fix: typo in notifications warning
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 8 Sep 2025 11:06:44 +0000 (13:06 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 8 Sep 2025 15:29:35 +0000 (17:29 +0200)
psycopg/psycopg/connection.py
psycopg/psycopg/connection_async.py

index 9e7872ae31dfb7614dd699ddd4afb2681b3c06c1..1b2e53886c21e4f1f86f9a3a70e0a9f25fc14418 100644 (file)
@@ -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,
             )
 
index 85eb134b74850819b2b99ba4408aba14da2204e1..c51a535c3bc2cae4d8fab3b74d76afdf40d0b03e 100644 (file)
@@ -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,
             )