mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Fix tabs.
This commit is contained in:
parent
d5b635f196
commit
d65ab950c1
2 changed files with 2 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ cell_compare(PyCellObject *a, PyCellObject *b)
|
||||||
{
|
{
|
||||||
/* Py3K warning for comparisons */
|
/* Py3K warning for comparisons */
|
||||||
if (Py_Py3kWarningFlag &&
|
if (Py_Py3kWarningFlag &&
|
||||||
PyErr_Warn(PyExc_DeprecationWarning,
|
PyErr_Warn(PyExc_DeprecationWarning,
|
||||||
"cell comparisons not supported in 3.x") < 0) {
|
"cell comparisons not supported in 3.x") < 0) {
|
||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1779,7 +1779,7 @@ dict_richcompare(PyObject *v, PyObject *w, int op)
|
||||||
else {
|
else {
|
||||||
/* Py3K warning if comparison isn't == or != */
|
/* Py3K warning if comparison isn't == or != */
|
||||||
if (Py_Py3kWarningFlag &&
|
if (Py_Py3kWarningFlag &&
|
||||||
PyErr_Warn(PyExc_DeprecationWarning,
|
PyErr_Warn(PyExc_DeprecationWarning,
|
||||||
"dict inequality comparisons not supported "
|
"dict inequality comparisons not supported "
|
||||||
"in 3.x") < 0) {
|
"in 3.x") < 0) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue