Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update __init__.pyi
  • Loading branch information
SmartManoj authored Apr 30, 2022
commit 0cc0c9e2b16ffe2269fa2c379852ca543543b53d
1 change: 1 addition & 0 deletions stdlib/ctypes/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ _DLLT = TypeVar("_DLLT", bound=CDLL)
_CT = TypeVar("_CT", bound=_CData)

class _Pointer(Generic[_T], _CData):
contents: ClassVar[Any]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
contents: ClassVar[Any]
contents: Any

It's not a classvar.

def __init__(self, *args: Any, **kwargs: Any) -> None: ...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The class also supports __getitem__ and __setitem__.

RTLD_GLOBAL: int
Expand Down