Issue 3164. Small fix to don't repeat a comparation
without necessity.
This commit is contained in:
parent
2126bab8f0
commit
1461886eee
|
@ -2366,6 +2366,7 @@ save(Picklerobject *self, PyObject *args, int pers_save)
|
||||||
res = save_string(self, args, 0);
|
res = save_string(self, args, 0);
|
||||||
goto finally;
|
goto finally;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
#ifdef Py_USING_UNICODE
|
#ifdef Py_USING_UNICODE
|
||||||
case 'u':
|
case 'u':
|
||||||
|
@ -2373,6 +2374,7 @@ save(Picklerobject *self, PyObject *args, int pers_save)
|
||||||
res = save_unicode(self, args, 0);
|
res = save_unicode(self, args, 0);
|
||||||
goto finally;
|
goto finally;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue