]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
doc: fix typo unless -> unlike
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 7 Jan 2023 12:54:49 +0000 (12:54 +0000)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 7 Jan 2023 12:54:49 +0000 (12:54 +0000)
psycopg/psycopg/_typeinfo.py

index 958799ab4d71cd3ce73900120ee7601b10a59b72..9b4f40f689264e56ec2fb4e0f1970f5b064500ab 100644 (file)
@@ -173,7 +173,7 @@ ORDER BY t.oid
 
     @classmethod
     def _to_regtype(cls, conn: "BaseConnection[Any]") -> "SQL":
-        # `to_regtype()` returns the type oid or NULL, unless the :: operator,
+        # `to_regtype()` returns the type oid or NULL, unlike the :: operator,
         # which returns the type or raises an exception, which requires
         # a transaction rollback and leaves traces in the server logs.