From b1f1c71140757af519e63073fe1ff056b796e333 Mon Sep 17 00:00:00 2001 From: Donghee Na Date: Wed, 13 Nov 2024 00:01:14 +0900 Subject: [PATCH] Update comments --- Include/internal/pycore_typeobject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Include/internal/pycore_typeobject.h b/Include/internal/pycore_typeobject.h index 8b473f65e2941f..7b39d07f976ee3 100644 --- a/Include/internal/pycore_typeobject.h +++ b/Include/internal/pycore_typeobject.h @@ -275,8 +275,8 @@ PyTypeObject *_PyType_LookupByVersion(unsigned int version); typedef int (*_py_validate_type)(PyTypeObject *); // It will verify the ``ty`` through user-defined validation function ``validate``, -// and if the validation is passed, it will set the ``tp_version`` to the next -// available version and return 0. Otherwise, it will return an error code. +// and if the validation is passed, it will set the ``tp_version`` as valid +// tp_version_tag from the ``ty``. extern int _PyType_Validate(PyTypeObject *ty, _py_validate_type validate, unsigned int *tp_version); #ifdef __cplusplus