blueloveTH 2 gadi atpakaļ
vecāks
revīzija
27571f2fd6
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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: ...