mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Apply fixes and speedups
This commit is contained in:
parent
7521bf9e73
commit
725f4d79f6
36 changed files with 682 additions and 334 deletions
10
third_party/python/Python/getargs.c
vendored
10
third_party/python/Python/getargs.c
vendored
|
@ -62,6 +62,16 @@ static int vgetargskeywordsfast_impl(PyObject **, Py_ssize_t,
|
|||
struct _PyArg_Parser *,
|
||||
va_list *, int );
|
||||
|
||||
/**
|
||||
* Deconstruct argument lists of “old-style” functions.
|
||||
*
|
||||
* These are functions which use the METH_O parameter parsing method,
|
||||
* which has been removed in Python 3. This is not recommended for use
|
||||
* in parameter parsing in new code, and most code in the standard
|
||||
* interpreter has been modified to no longer use this for that purpose.
|
||||
* It does remain a convenient way to decompose other tuples, however,
|
||||
* and may continue to be used for that purpose.
|
||||
*/
|
||||
int
|
||||
PyArg_Parse(PyObject *args, const char *format, ...)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue