diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-28 08:52:05 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-28 08:52:05 (GMT) |
| commit | 214678e44bf7773c0ed9c3684818354001d8f9ca (patch) | |
| tree | 822f4fdac4d8bd11c300b98dcb7b6a701aa37aae /Python/ast.c | |
| parent | d070b2ddbb300cb9c25efcef453154fabc99bcde (diff) | |
| download | cpython-214678e44bf7773c0ed9c3684818354001d8f9ca.zip cpython-214678e44bf7773c0ed9c3684818354001d8f9ca.tar.gz cpython-214678e44bf7773c0ed9c3684818354001d8f9ca.tar.bz2 | |
Issue #12844: More than 255 arguments can now be passed to a function.
Diffstat (limited to 'Python/ast.c')
| -rw-r--r-- | Python/ast.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Python/ast.c b/Python/ast.c index 82f4529..e6786d4 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -2738,11 +2738,6 @@ ast_for_call(struct compiling *c, const node *n, expr_ty func) return NULL; } - if (nargs + nkeywords + ngens > 255) { - ast_error(c, n, "more than 255 arguments"); - return NULL; - } - args = _Py_asdl_seq_new(nargs + ngens, c->c_arena); if (!args) return NULL; |
