Skip to content

Commit b3f1927

Browse files
committed
fix
1 parent 808a641 commit b3f1927

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stdlib/_ctypes.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ _SetT = TypeVar("_SetT")
198198
if sys.version_info >= (3, 14):
199199
@final
200200
@type_check_only
201-
class _CField(Generic[_CT, _GetT, _SetT]):
201+
class CField(Generic[_CT, _GetT, _SetT]):
202202
offset: int
203203
size: int
204204
name: str
@@ -214,6 +214,7 @@ if sys.version_info >= (3, 14):
214214
@overload
215215
def __get__(self, instance: Any, owner: type[Any] | None = None, /) -> _GetT: ...
216216
def __set__(self, instance: Any, value: _SetT, /) -> None: ...
217+
_CField = CField
217218

218219
else:
219220
@final

0 commit comments

Comments
 (0)