From: Daniele Varrazzo Date: Sat, 7 Jan 2023 12:54:49 +0000 (+0000) Subject: doc: fix typo unless -> unlike X-Git-Tag: pool-3.2.0~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=387ba22a69e040aec1f1dd4247a4f3165f7229c9;p=thirdparty%2Fpsycopg.git doc: fix typo unless -> unlike --- diff --git a/psycopg/psycopg/_typeinfo.py b/psycopg/psycopg/_typeinfo.py index 958799ab4..9b4f40f68 100644 --- a/psycopg/psycopg/_typeinfo.py +++ b/psycopg/psycopg/_typeinfo.py @@ -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.