diff options
author | Joon Hwan 김준환 <xncbf12@gmail.com> | 2023-08-14 09:26:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-14 09:26:18 (GMT) |
commit | c3887b57a75a105615dd555aaf74e6c9a243ebdd (patch) | |
tree | db4feec661c913043b1ae8c3c1289da571e4c71e /Objects | |
parent | cc2cf85d03cf29994a707aae5cc9a349a4165b84 (diff) | |
download | cpython-c3887b57a75a105615dd555aaf74e6c9a243ebdd.zip cpython-c3887b57a75a105615dd555aaf74e6c9a243ebdd.tar.gz cpython-c3887b57a75a105615dd555aaf74e6c9a243ebdd.tar.bz2 |
gh-107910: Remove not needing newline in error message (GH-107928)
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 030e8bf..7ce3de4 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -2444,7 +2444,7 @@ set_mro_error(PyObject **to_merge, Py_ssize_t to_merge_size, int *remain) n = PyDict_GET_SIZE(set); off = PyOS_snprintf(buf, sizeof(buf), "Cannot create a \ -consistent method resolution\norder (MRO) for bases"); +consistent method resolution order (MRO) for bases"); i = 0; while (PyDict_Next(set, &i, &k, &v) && (size_t)off < sizeof(buf)) { PyObject *name = class_name(k); |