mirror of
https://github.com/python/cpython.git
synced 2025-12-10 11:00:14 +00:00
Fix typos in comments (#123201)
This commit is contained in:
parent
7b26c4d1e3
commit
94036e43a8
9 changed files with 13 additions and 13 deletions
|
|
@ -1258,9 +1258,9 @@ PyObject_GetOptionalAttr(PyObject *v, PyObject *name, PyObject **result)
|
|||
return 0;
|
||||
}
|
||||
if (tp->tp_getattro == _Py_type_getattro) {
|
||||
int supress_missing_attribute_exception = 0;
|
||||
*result = _Py_type_getattro_impl((PyTypeObject*)v, name, &supress_missing_attribute_exception);
|
||||
if (supress_missing_attribute_exception) {
|
||||
int suppress_missing_attribute_exception = 0;
|
||||
*result = _Py_type_getattro_impl((PyTypeObject*)v, name, &suppress_missing_attribute_exception);
|
||||
if (suppress_missing_attribute_exception) {
|
||||
// return 0 without having to clear the exception
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue