mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Shut up many more gcc warnings.
This commit is contained in:
parent
5a1516bce5
commit
fd064863eb
31 changed files with 186 additions and 110 deletions
|
@ -176,7 +176,8 @@ if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &h))
|
|||
return NULL;
|
||||
l = (ListObject *)ListObj_New(as_List(h));
|
||||
l->ob_must_be_disposed = 0;
|
||||
return Py_BuildValue("O", l);
|
||||
_res = Py_BuildValue("O", l);
|
||||
return _res;
|
||||
"""
|
||||
f = ManualGenerator("as_List", as_List_body)
|
||||
f.docstring = lambda: "(Resource)->List.\nReturns List object (which is not auto-freed!)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue