mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
changes for keyword args to built-in functions and classes
This commit is contained in:
parent
bebdc376c3
commit
a83f270a4b
2 changed files with 8 additions and 7 deletions
|
|
@ -71,14 +71,14 @@ getself(op)
|
|||
}
|
||||
|
||||
int
|
||||
getvarargs(op)
|
||||
getflags(op)
|
||||
object *op;
|
||||
{
|
||||
if (!is_methodobject(op)) {
|
||||
err_badcall();
|
||||
return -1;
|
||||
}
|
||||
return ((methodobject *)op) -> m_ml -> ml_flags & METH_VARARGS;
|
||||
return ((methodobject *)op) -> m_ml -> ml_flags;
|
||||
}
|
||||
|
||||
/* Methods (the standard built-in methods, that is) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue