Skip to content

Commit f177872

Browse files
authored
Apply suggestions from code review
1 parent efffb29 commit f177872

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Modules/_tkinter.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,8 +1234,9 @@ AsObjNested(PyObject *value, int depth)
12341234

12351235
{
12361236
PyObject *v = PyObject_Str(value);
1237-
if (!v)
1237+
if (!v) {
12381238
return NULL;
1239+
}
12391240
result = AsObjNested(v, depth);
12401241
Py_DECREF(v);
12411242
return result;

0 commit comments

Comments
 (0)