mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521)
This commit is contained in:
parent
a7847590f0
commit
1b55b65638
33 changed files with 56 additions and 56 deletions
|
@ -92,7 +92,7 @@ static PyMemberDef DB_members[] = {
|
|||
|
||||
/* forward declaration */
|
||||
static PyTypeObject UCD_Type;
|
||||
#define UCD_Check(o) (Py_TYPE(o)==&UCD_Type)
|
||||
#define UCD_Check(o) Py_IS_TYPE(o, &UCD_Type)
|
||||
|
||||
static PyObject*
|
||||
new_previous_version(const char*name, const change_record* (*getrecord)(Py_UCS4),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue