From f6792b691ccf0f37d8a2434a9b70b8bd5fbf0eb8 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Thu, 26 Dec 2024 19:46:32 +0100 Subject: [PATCH] chore: drop annotation on empty lists, now unneeded If needed, it is considered wrong anyway, because it should be annotated as class attribute. --- psycopg/psycopg/pq/_pq_ctypes.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/psycopg/psycopg/pq/_pq_ctypes.py b/psycopg/psycopg/pq/_pq_ctypes.py index f3a7b143f..b2da35f7b 100644 --- a/psycopg/psycopg/pq/_pq_ctypes.py +++ b/psycopg/psycopg/pq/_pq_ctypes.py @@ -58,11 +58,11 @@ Oid = c_uint class PGconn_struct(Structure): - _fields_: list[tuple[str, type]] = [] + _fields_ = [] class PGresult_struct(Structure): - _fields_: list[tuple[str, type]] = [] + _fields_ = [] class PQconninfoOption_struct(Structure): @@ -86,11 +86,11 @@ class PGnotify_struct(Structure): class PGcancelConn_struct(Structure): - _fields_: list[tuple[str, type]] = [] + _fields_ = [] class PGcancel_struct(Structure): - _fields_: list[tuple[str, type]] = [] + _fields_ = [] class PGresAttDesc_struct(Structure): -- 2.47.2