Mercurial > cpython-lru_cache-weakref
diff Objects/methodobject.c @ 2864:5f951912e995 legacy-trunk
changes for keyword args to built-in functions and classes
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 26 Jul 1995 18:07:32 +0000 |
| parents | d091b246a3a7 |
| children | 65d2d8e67da3 |
line wrap: on
line diff
--- a/Objects/methodobject.c Wed Jul 26 17:58:29 1995 +0000 +++ b/Objects/methodobject.c Wed Jul 26 18:07:32 1995 +0000 @@ -71,14 +71,14 @@ } 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) */
