mirror of
https://github.com/python/cpython.git
synced 2025-12-10 19:10:59 +00:00
minor PEP7-related fix
This commit is contained in:
parent
f2bb8898ea
commit
cad1a07bec
1 changed files with 2 additions and 2 deletions
|
|
@ -2816,7 +2816,7 @@ save_ellipsis(PicklerObject *self, PyObject *obj)
|
||||||
{
|
{
|
||||||
PyObject *str = PyUnicode_FromString("Ellipsis");
|
PyObject *str = PyUnicode_FromString("Ellipsis");
|
||||||
if (str == NULL)
|
if (str == NULL)
|
||||||
return -1;
|
return -1;
|
||||||
return save_global(self, Py_Ellipsis, str);
|
return save_global(self, Py_Ellipsis, str);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2825,7 +2825,7 @@ save_notimplemented(PicklerObject *self, PyObject *obj)
|
||||||
{
|
{
|
||||||
PyObject *str = PyUnicode_FromString("NotImplemented");
|
PyObject *str = PyUnicode_FromString("NotImplemented");
|
||||||
if (str == NULL)
|
if (str == NULL)
|
||||||
return -1;
|
return -1;
|
||||||
return save_global(self, Py_NotImplemented, str);
|
return save_global(self, Py_NotImplemented, str);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue