mirror of
https://github.com/python/cpython.git
synced 2025-09-02 23:18:25 +00:00
gh-103906: Remove immortal refcounting in compile/marshal.c (gh-103922)
This commit is contained in:
parent
cdfb201bfa
commit
058b960535
3 changed files with 8 additions and 8 deletions
|
@ -1019,7 +1019,7 @@ r_object(RFILE *p)
|
|||
break;
|
||||
|
||||
case TYPE_NONE:
|
||||
retval = Py_NewRef(Py_None);
|
||||
retval = Py_None;
|
||||
break;
|
||||
|
||||
case TYPE_STOPITER:
|
||||
|
@ -1027,15 +1027,15 @@ r_object(RFILE *p)
|
|||
break;
|
||||
|
||||
case TYPE_ELLIPSIS:
|
||||
retval = Py_NewRef(Py_Ellipsis);
|
||||
retval = Py_Ellipsis;
|
||||
break;
|
||||
|
||||
case TYPE_FALSE:
|
||||
retval = Py_NewRef(Py_False);
|
||||
retval = Py_False;
|
||||
break;
|
||||
|
||||
case TYPE_TRUE:
|
||||
retval = Py_NewRef(Py_True);
|
||||
retval = Py_True;
|
||||
break;
|
||||
|
||||
case TYPE_INT:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue