Skip to content

Commit

Permalink
suggested new formatting syntax
Browse files Browse the repository at this point in the history
Co-authored-by: Erlend E. Aasland <[email protected]>
  • Loading branch information
dpdani and erlend-aasland authored Jun 7, 2024
1 parent 8f273f7 commit 798c2f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Python/structmember.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ member_get_object(const char *addr, const char *obj_addr, PyMemberDef *l)
PyObject *obj = (PyObject *) obj_addr;
PyTypeObject *tp = Py_TYPE(obj);
PyErr_Format(PyExc_AttributeError,
"'%.200s' object has no attribute '%s'",
tp->tp_name, l->name);
"'%N' object has no attribute '%s'",
tp, l->name);
}
return v;
}
Expand Down

0 comments on commit 798c2f0

Please sign in to comment.