diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2012-06-07 18:28:14 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2012-06-07 18:28:14 (GMT) |
commit | 74482201b8bfe76280fbc62c1b7eaa90120415e1 (patch) | |
tree | eed8a2c5075c802f3448354efcb89f409a62a9c9 /Lib/test/test_dis.py | |
parent | 7bda265662769ddffa8c08298ed11670e737ed46 (diff) | |
download | cpython-74482201b8bfe76280fbc62c1b7eaa90120415e1.zip cpython-74482201b8bfe76280fbc62c1b7eaa90120415e1.tar.gz cpython-74482201b8bfe76280fbc62c1b7eaa90120415e1.tar.bz2 |
Issue #11823: disassembly now shows argument counts on calls with keyword args
Diffstat (limited to 'Lib/test/test_dis.py')
-rw-r--r-- | Lib/test/test_dis.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_dis.py b/Lib/test/test_dis.py index 1506fe9..1bcd693 100644 --- a/Lib/test/test_dis.py +++ b/Lib/test/test_dis.py @@ -38,7 +38,7 @@ def _f(a): dis_f = """\ %-4d 0 LOAD_GLOBAL 0 (print) 3 LOAD_FAST 0 (a) - 6 CALL_FUNCTION 1 + 6 CALL_FUNCTION 1 (1 positional, 0 keyword pair) 9 POP_TOP %-4d 10 LOAD_CONST 1 (1) @@ -50,7 +50,7 @@ dis_f = """\ dis_f_co_code = """\ 0 LOAD_GLOBAL 0 (0) 3 LOAD_FAST 0 (0) - 6 CALL_FUNCTION 1 + 6 CALL_FUNCTION 1 (1 positional, 0 keyword pair) 9 POP_TOP 10 LOAD_CONST 1 (1) 13 RETURN_VALUE @@ -68,7 +68,7 @@ dis_bug708901 = """\ 6 LOAD_CONST 1 (1) %-4d 9 LOAD_CONST 2 (10) - 12 CALL_FUNCTION 2 + 12 CALL_FUNCTION 2 (2 positional, 0 keyword pair) 15 GET_ITER >> 16 FOR_ITER 6 (to 25) 19 STORE_FAST 0 (res) |