@@ -1461,9 +1461,9 @@ def get_disassembly(self, func, lasti=-1, wrapper=True, **kwargs):
1461
1461
code_info_code_info = f"""\
1462
1462
Name: code_info
1463
1463
Filename: (.*)
1464
- Argument count: 1
1465
- Positional-only arguments : 0
1466
- Kw -only arguments : 0
1464
+ Positional parameters: 1
1465
+ Positional-only parameters : 0
1466
+ Keyword -only parameters : 0
1467
1467
Number of locals: 1
1468
1468
Stack size: \\ d+
1469
1469
Flags: OPTIMIZED, NEWLOCALS, HAS_DOCSTRING
@@ -1485,9 +1485,9 @@ def f(c=c):
1485
1485
code_info_tricky = """\
1486
1486
Name: tricky
1487
1487
Filename: (.*)
1488
- Argument count: 5
1489
- Positional-only arguments : 2
1490
- Kw -only arguments : 3
1488
+ Positional parameters: 5
1489
+ Positional-only parameters : 2
1490
+ Keyword -only parameters : 3
1491
1491
Number of locals: 10
1492
1492
Stack size: \\ d+
1493
1493
Flags: OPTIMIZED, NEWLOCALS, VARARGS, VARKEYWORDS, GENERATOR
@@ -1520,9 +1520,9 @@ def f(c=c):
1520
1520
1521
1521
code_info_tricky_nested_f = """\
1522
1522
Filename: (.*)
1523
- Argument count: 1
1524
- Positional-only arguments : 0
1525
- Kw -only arguments : 0
1523
+ Positional parameters: 1
1524
+ Positional-only parameters : 0
1525
+ Keyword -only parameters : 0
1526
1526
Number of locals: 1
1527
1527
Stack size: \\ d+
1528
1528
Flags: OPTIMIZED, NEWLOCALS, NESTED
@@ -1543,9 +1543,9 @@ def f(c=c):
1543
1543
code_info_expr_str = """\
1544
1544
Name: <module>
1545
1545
Filename: <disassembly>
1546
- Argument count: 0
1547
- Positional-only arguments : 0
1548
- Kw -only arguments : 0
1546
+ Positional parameters: 0
1547
+ Positional-only parameters : 0
1548
+ Keyword -only parameters : 0
1549
1549
Number of locals: 0
1550
1550
Stack size: \\ d+
1551
1551
Flags: 0x0
@@ -1557,9 +1557,9 @@ def f(c=c):
1557
1557
code_info_simple_stmt_str = """\
1558
1558
Name: <module>
1559
1559
Filename: <disassembly>
1560
- Argument count: 0
1561
- Positional-only arguments : 0
1562
- Kw -only arguments : 0
1560
+ Positional parameters: 0
1561
+ Positional-only parameters : 0
1562
+ Keyword -only parameters : 0
1563
1563
Number of locals: 0
1564
1564
Stack size: \\ d+
1565
1565
Flags: 0x0
@@ -1572,9 +1572,9 @@ def f(c=c):
1572
1572
code_info_compound_stmt_str = """\
1573
1573
Name: <module>
1574
1574
Filename: <disassembly>
1575
- Argument count: 0
1576
- Positional-only arguments : 0
1577
- Kw -only arguments : 0
1575
+ Positional parameters: 0
1576
+ Positional-only parameters : 0
1577
+ Keyword -only parameters : 0
1578
1578
Number of locals: 0
1579
1579
Stack size: \\ d+
1580
1580
Flags: 0x0
@@ -1592,9 +1592,9 @@ async def async_def():
1592
1592
code_info_async_def = """\
1593
1593
Name: async_def
1594
1594
Filename: (.*)
1595
- Argument count: 0
1596
- Positional-only arguments : 0
1597
- Kw -only arguments : 0
1595
+ Positional parameters: 0
1596
+ Positional-only parameters : 0
1597
+ Keyword -only parameters : 0
1598
1598
Number of locals: 2
1599
1599
Stack size: \\ d+
1600
1600
Flags: OPTIMIZED, NEWLOCALS, COROUTINE
0 commit comments