Kaydet (Commit) 17fd1e10 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Issue #22127: fix typo.

üst 18874a9e
...@@ -1263,7 +1263,7 @@ idna_converter(PyObject *obj, struct maybe_idna *data) ...@@ -1263,7 +1263,7 @@ idna_converter(PyObject *obj, struct maybe_idna *data)
return 0; return 0;
} }
if (!PyBytes_Check(obj3)) { if (!PyBytes_Check(obj3)) {
Py_DECREF(obj2); Py_DECREF(obj3);
PyErr_SetString(PyExc_TypeError, "encoding of hostname failed to return bytes"); PyErr_SetString(PyExc_TypeError, "encoding of hostname failed to return bytes");
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment