]> 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 11:07:20 +0000 (13:07 +0200)
psycopg/psycopg/connection.py
psycopg/psycopg/connection_async.py

index f6af3edc35011a0d85119b36547f19fc0d4d2dd1..154fbfd3b0dbd122cf970df036ab76de509ff0e9 100644 (file)
@@ -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,
             )
 
index 28e36919162bbdc5fe58a6cbef5d5a57aa276a3e..d75f6b6b03b30391f4cb13b3ba22cc8813883de4 100644 (file)
@@ -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,
             )