Skip to content

Commit 132540a

Browse files
authored
Replace Type[_SimpleCData[_T]] with Type["_SimpleCData[_T]"].
1 parent 5746f67 commit 132540a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comtypes/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def byref_at(
116116
#
117117
@overload
118118
def cast_field(
119-
struct: Structure, fieldname: str, fieldtype: Type[_SimpleCData[_T]]
119+
struct: Structure, fieldname: str, fieldtype: Type["_SimpleCData[_T]"]
120120
) -> _T: ...
121121
@overload
122122
def cast_field(struct: Structure, fieldname: str, fieldtype: Type[_CT]) -> _CT: ...

0 commit comments

Comments
 (0)