mirror of
https://github.com/python/cpython.git
synced 2025-09-10 02:36:56 +00:00
Rename _Py_identifier to _Py_IDENTIFIER.
This commit is contained in:
parent
01277d166a
commit
bd928fef42
57 changed files with 262 additions and 262 deletions
|
@ -467,8 +467,8 @@ PyObject *PyCodec_LookupError(const char *name)
|
|||
|
||||
static void wrong_exception_type(PyObject *exc)
|
||||
{
|
||||
_Py_identifier(__class__);
|
||||
_Py_identifier(__name__);
|
||||
_Py_IDENTIFIER(__class__);
|
||||
_Py_IDENTIFIER(__name__);
|
||||
PyObject *type = _PyObject_GetAttrId(exc, &PyId___class__);
|
||||
if (type != NULL) {
|
||||
PyObject *name = _PyObject_GetAttrId(type, &PyId___name__);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue