Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Update formatting in import.c
Co-authored-by: Victor Stinner <[email protected]>
  • Loading branch information
dr-carlos and vstinner authored Dec 2, 2025
commit 705b4738888ca6e88d0faa3ec664156c14c50ce6
3 changes: 1 addition & 2 deletions Python/import.c
Original file line number Diff line number Diff line change
Expand Up @@ -4421,8 +4421,7 @@ _imp_create_builtin(PyObject *module, PyObject *spec)
}

if (PyUnicode_GetLength(name) == 0) {
PyErr_Format(PyExc_ValueError,
"name must not be empty");
PyErr_Format(PyExc_ValueError, "name must not be empty");
Py_DECREF(name);
return NULL;
}
Expand Down
Loading