File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1374,23 +1374,23 @@ _encoded_const(PyObject *obj)
1374
1374
if (s_null == NULL ) {
1375
1375
s_null = PyUnicode_InternFromString ("null" );
1376
1376
}
1377
- Py_INCREF (s_null );
1377
+ Py_XINCREF (s_null );
1378
1378
return s_null ;
1379
1379
}
1380
1380
else if (obj == Py_True ) {
1381
1381
static PyObject * s_true = NULL ;
1382
1382
if (s_true == NULL ) {
1383
1383
s_true = PyUnicode_InternFromString ("true" );
1384
1384
}
1385
- Py_INCREF (s_true );
1385
+ Py_XINCREF (s_true );
1386
1386
return s_true ;
1387
1387
}
1388
1388
else if (obj == Py_False ) {
1389
1389
static PyObject * s_false = NULL ;
1390
1390
if (s_false == NULL ) {
1391
1391
s_false = PyUnicode_InternFromString ("false" );
1392
1392
}
1393
- Py_INCREF (s_false );
1393
+ Py_XINCREF (s_false );
1394
1394
return s_false ;
1395
1395
}
1396
1396
else {
You can’t perform that action at this time.
0 commit comments