Skip to content

Commit 83eb24d

Browse files
picnixzencukou
andauthored
Update Objects/exceptions.c
Co-authored-by: Petr Viktorin <[email protected]>
1 parent e5709fa commit 83eb24d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/exceptions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2682,7 +2682,7 @@ as_unicode_error_attribute(PyObject *attr, const char *name, int as_bytes)
26822682
}
26832683
if (!(as_bytes ? PyBytes_Check(attr) : PyUnicode_Check(attr))) {
26842684
PyErr_Format(PyExc_TypeError,
2685-
"%.200s attribute must be %s",
2685+
"%s attribute must be %s",
26862686
name, as_bytes ? "bytes" : "unicode");
26872687
return NULL;
26882688
}

0 commit comments

Comments
 (0)