mirror of https://github.com/python/cpython
typo
This commit is contained in:
parent
970d1887c5
commit
84060b81e3
|
@ -321,8 +321,8 @@ static PyObject *
|
||||||
type_abstractmethods(PyTypeObject *type, void *context)
|
type_abstractmethods(PyTypeObject *type, void *context)
|
||||||
{
|
{
|
||||||
PyObject *mod = NULL;
|
PyObject *mod = NULL;
|
||||||
/* type its self has an __abstractmethods__ descriptor (this). Don't
|
/* type itself has an __abstractmethods__ descriptor (this). Don't return
|
||||||
return that. */
|
that. */
|
||||||
if (type != &PyType_Type)
|
if (type != &PyType_Type)
|
||||||
mod = PyDict_GetItemString(type->tp_dict, "__abstractmethods__");
|
mod = PyDict_GetItemString(type->tp_dict, "__abstractmethods__");
|
||||||
if (!mod) {
|
if (!mod) {
|
||||||
|
|
Loading…
Reference in New Issue