Repair typo in comment.
This commit is contained in:
parent
13b54a9da3
commit
b95ec09a44
|
@ -1703,7 +1703,7 @@ dict_init(PyObject *self, PyObject *args, PyObject *kwds)
|
||||||
return -1;
|
return -1;
|
||||||
if (arg != NULL) {
|
if (arg != NULL) {
|
||||||
if (PyDict_Merge(self, arg, 1) < 0) {
|
if (PyDict_Merge(self, arg, 1) < 0) {
|
||||||
/* An error like "AttibuteError: keys" is too
|
/* An error like "AttributeError: keys" is too
|
||||||
cryptic in this context. */
|
cryptic in this context. */
|
||||||
if (PyErr_ExceptionMatches(PyExc_AttributeError)) {
|
if (PyErr_ExceptionMatches(PyExc_AttributeError)) {
|
||||||
PyErr_SetString(PyExc_TypeError,
|
PyErr_SetString(PyExc_TypeError,
|
||||||
|
|
Loading…
Reference in New Issue