diff options
Diffstat (limited to 'Objects/methodobject.c')
| -rw-r--r-- | Objects/methodobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c index d9daf2349d..1444924b69 100644 --- a/Objects/methodobject.c +++ b/Objects/methodobject.c @@ -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) */ |
