From 387ba22a69e040aec1f1dd4247a4f3165f7229c9 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Sat, 7 Jan 2023 12:54:49 +0000 Subject: [PATCH] doc: fix typo unless -> unlike --- psycopg/psycopg/_typeinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.47.3