From cd74e66a8c420be675fd2fbf3fe708ac02ee9f21 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Sat, 1 Jun 2019 18:08:04 +0100 Subject: bpo-37122: Make co->co_argcount represent the total number of positonal arguments in the code object (GH-13726) --- Lib/test/test_code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_code.py') diff --git a/Lib/test/test_code.py b/Lib/test/test_code.py index 91008c04f7f..0d80af44d9f 100644 --- a/Lib/test/test_code.py +++ b/Lib/test/test_code.py @@ -112,7 +112,7 @@ consts: ('None',) >>> dump(posonly_args.__code__) name: posonly_args -argcount: 1 +argcount: 3 posonlyargcount: 2 kwonlyargcount: 0 names: () -- cgit v1.2.3