Skip to content

Commit e6e78cd

Browse files
committed
add the _flags_ attribute to _ctypes.CFuncPtr
and remove `_ctypes.CFuncPtr._flags_` from allowlists
1 parent 6399ecd commit e6e78cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/_ctypes.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ class CFuncPtr(_PointerLike, _CData):
100100
restype: type[_CData] | Callable[[int], Any] | None
101101
argtypes: Sequence[type[_CData]]
102102
errcheck: _ECT
103+
_flags_: int
103104
@overload
104105
def __init__(self, address: int) -> None: ...
105106
@overload

0 commit comments

Comments
 (0)