blueloveTH 3 年之前
父节点
当前提交
27571f2fd6
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      include/typings/c.pyi

+ 1 - 1
include/typings/c.pyi

@@ -137,7 +137,7 @@ class _StructLike(Generic[T]):
     @classmethod
     def from_struct(cls, s: struct) -> T: ...
 
-    def addr(self) -> void_p: ...
+    def addr(self) -> '_Pointer[T]': ...
     def sizeof(self) -> int: ...
     def copy(self) -> T: ...
     def __eq__(self, other: T) -> bool: ...