Use PyOS_snprintf() instead of sprintf and wrap the long line
diff --git a/Objects/listobject.c b/Objects/listobject.c
index c28bfb4..bee284d 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -457,8 +457,10 @@
n = 0;
else {
char msg[256];
- sprintf(msg, "must assign sequence (not \"%.200s\") to slice",
- v->ob_type->tp_name);
+ PyOS_snprintf(msg, sizeof(msg),
+ "must assign sequence"
+ " (not \"%.200s\") to slice",
+ v->ob_type->tp_name);
v_as_SF = PySequence_Fast(v, msg);
if(v_as_SF == NULL)
return -1;