mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-103091: Add PyUnstable_Type_AssignVersionTag (#103095)
This commit is contained in:
parent
dca27a69a8
commit
b7f4811c88
6 changed files with 49 additions and 0 deletions
|
@ -592,6 +592,11 @@ assign_version_tag(PyTypeObject *type)
|
|||
return 1;
|
||||
}
|
||||
|
||||
int PyUnstable_Type_AssignVersionTag(PyTypeObject *type)
|
||||
{
|
||||
return assign_version_tag(type);
|
||||
}
|
||||
|
||||
|
||||
static PyMemberDef type_members[] = {
|
||||
{"__basicsize__", T_PYSSIZET, offsetof(PyTypeObject,tp_basicsize),READONLY},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue