mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Removed breaking typo accidentally introduced during merge with 3.2.
This commit is contained in:
parent
65897a386e
commit
3232284391
1 changed files with 0 additions and 4 deletions
|
@ -1320,8 +1320,6 @@ marshal_load(PyObject *self, PyObject *f)
|
|||
{
|
||||
PyObject *data, *result;
|
||||
RFILE rf;
|
||||
char *p;
|
||||
int n;
|
||||
|
||||
/*
|
||||
* Make a call to the read method, but read zero bytes.
|
||||
|
@ -1338,12 +1336,10 @@ marshal_load(PyObject *self, PyObject *f)
|
|||
result = NULL;
|
||||
}
|
||||
else {
|
||||
rf.strings = PyList_New(0);
|
||||
rf.depth = 0;
|
||||
rf.fp = NULL;
|
||||
rf.readable = f;
|
||||
result = read_object(&rf);
|
||||
Py_DECREF(rf.strings);
|
||||
}
|
||||
Py_DECREF(data);
|
||||
return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue