Skip to content

Commit c4f4502

Browse files
committed
Fix mypy errors
_fields_ list type previously override class variable
1 parent f30f1e0 commit c4f4502

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/e3/os/windows/native_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ class Internal(Structure):
306306
class_id = 6
307307

308308
class Rename(Structure):
309-
_fields_ = [] # type: list
309+
_fields_ = []
310310
class_id = 10
311311

312312
class Basic(Structure):
@@ -336,7 +336,7 @@ class ObjectInfo:
336336
"""Declaration of structures returned by QueryObjectInformation."""
337337

338338
class Name(Structure):
339-
_fields_: list = []
339+
_fields_ = []
340340
class_id = 1
341341

342342

0 commit comments

Comments
 (0)