From: Daniele Varrazzo Date: Sat, 7 Jan 2023 12:54:49 +0000 (+0000) Subject: doc: fix typo unless -> unlike X-Git-Tag: 3.1.8~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb4e92cd69c484f192d62ba47db6589657336542;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.