mirror of https://github.com/python/cpython
Ooops, add missing ";" in my previous commit (r81324, typeobject.c)
It's time to go to bed...
This commit is contained in:
parent
e5f99f398c
commit
ba644a62b0
|
@ -1351,9 +1351,9 @@ consistent method resolution\norder (MRO) for bases");
|
||||||
if (name != NULL) {
|
if (name != NULL) {
|
||||||
name_str = _PyUnicode_AsString(name);
|
name_str = _PyUnicode_AsString(name);
|
||||||
if (name_str == NULL)
|
if (name_str == NULL)
|
||||||
name_str = "?"
|
name_str = "?";
|
||||||
} else
|
} else
|
||||||
name_str = "?"
|
name_str = "?";
|
||||||
off += PyOS_snprintf(buf + off, sizeof(buf) - off, " %s", name_str);
|
off += PyOS_snprintf(buf + off, sizeof(buf) - off, " %s", name_str);
|
||||||
Py_XDECREF(name);
|
Py_XDECREF(name);
|
||||||
if (--n && (size_t)(off+1) < sizeof(buf)) {
|
if (--n && (size_t)(off+1) < sizeof(buf)) {
|
||||||
|
|
Loading…
Reference in New Issue