From 27571f2fd66e5b5efc956aeb595becf6321d58c9 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Wed, 27 Sep 2023 14:47:54 +0800 Subject: [PATCH] ... --- include/typings/c.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/typings/c.pyi b/include/typings/c.pyi index ffe0c631..ba30e9ea 100644 --- a/include/typings/c.pyi +++ b/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: ...