mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-23 02:32:00 +03:00
PyCapsules aren't actually importable in python.
They're only a C-api thing, so we can only get their type from an instance. They're not in Typing or Types.
This commit is contained in:
parent
e81b669fec
commit
7ac90faabc
|
@ -3211,8 +3211,8 @@ class SupportsArrowArrayInterface(Protocol):
|
|||
"""
|
||||
|
||||
def __arrow_c_array__(
|
||||
self, requested_schema: PyCapsule = None
|
||||
) -> tuple[PyCapsule, PyCapsule]:
|
||||
self, requested_schema: 'PyCapsule' = None
|
||||
) -> tuple['PyCapsule', 'PyCapsule']:
|
||||
raise NotImplementedError()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user