summaryrefslogtreecommitdiffstats
path: root/Objects/methodobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-07-26 18:07:32 (GMT)
committerGuido van Rossum <guido@python.org>1995-07-26 18:07:32 (GMT)
commita83f270a4ba3a8e3fcc38fa1bdf7f62dd723cfb8 (patch)
tree3d713a2407096a580b89eafe011966e53c7de898 /Objects/methodobject.c
parentbebdc376c3aa584bfb9825758d5cf8d5c09c8692 (diff)
downloadcpython-a83f270a4ba3a8e3fcc38fa1bdf7f62dd723cfb8.zip
cpython-a83f270a4ba3a8e3fcc38fa1bdf7f62dd723cfb8.tar.gz
cpython-a83f270a4ba3a8e3fcc38fa1bdf7f62dd723cfb8.tar.bz2
changes for keyword args to built-in functions and classes
Diffstat (limited to 'Objects/methodobject.c')
-rw-r--r--Objects/methodobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c
index d9daf23..1444924 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) */