Skip to content

Commit a4efa33

Browse files
committed
chore: drop annotation on empty lists, now unneeded
If needed, it is considered wrong anyway, because it should be annotated as class attribute.
1 parent 8f3b2b2 commit a4efa33

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

psycopg/psycopg/pq/_pq_ctypes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ class FILE(Structure):
5858

5959

6060
class PGconn_struct(Structure):
61-
_fields_: list[tuple[str, type]] = []
61+
_fields_ = []
6262

6363

6464
class PGresult_struct(Structure):
65-
_fields_: list[tuple[str, type]] = []
65+
_fields_ = []
6666

6767

6868
class PQconninfoOption_struct(Structure):
@@ -86,11 +86,11 @@ class PGnotify_struct(Structure):
8686

8787

8888
class PGcancelConn_struct(Structure):
89-
_fields_: list[tuple[str, type]] = []
89+
_fields_ = []
9090

9191

9292
class PGcancel_struct(Structure):
93-
_fields_: list[tuple[str, type]] = []
93+
_fields_ = []
9494

9595

9696
class PGresAttDesc_struct(Structure):

0 commit comments

Comments
 (0)