Skip to content

Commit 309229c

Browse files
committed
address review: PEP 7
1 parent d9ed032 commit 309229c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Modules/_struct.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1773,8 +1773,9 @@ s_create(PyStructObject *self, PyObject *format)
17731773
{
17741774
if (PyUnicode_Check(format)) {
17751775
format = PyUnicode_AsASCIIString(format);
1776-
if (format == NULL)
1776+
if (format == NULL) {
17771777
return -1;
1778+
}
17781779
}
17791780
else {
17801781
Py_INCREF(format);

0 commit comments

Comments
 (0)