Repository navigation
Commit a6fdddb
authored
bpo-32500: Fix error messages for sequence and mapping C API. (pythonGH-7846)
Fix error messages for PySequence_Size(), PySequence_GetItem(),
PySequence_SetItem() and PySequence_DelItem() called with a mapping
and PyMapping_Size() called with a sequence.1 parent aba24ff commit a6fdddb
2 files changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1531 | 1531 | | |
1532 | 1532 | | |
1533 | 1533 | | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
1534 | 1538 | | |
1535 | 1539 | | |
1536 | 1540 | | |
| |||
1677 | 1681 | | |
1678 | 1682 | | |
1679 | 1683 | | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
1680 | 1687 | | |
1681 | 1688 | | |
1682 | 1689 | | |
| |||
1728 | 1735 | | |
1729 | 1736 | | |
1730 | 1737 | | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
1731 | 1742 | | |
1732 | 1743 | | |
1733 | 1744 | | |
| |||
1757 | 1768 | | |
1758 | 1769 | | |
1759 | 1770 | | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
1760 | 1775 | | |
1761 | 1776 | | |
1762 | 1777 | | |
| |||
2093 | 2108 | | |
2094 | 2109 | | |
2095 | 2110 | | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
| 2115 | + | |
2096 | 2116 | | |
2097 | 2117 | | |
2098 | 2118 | | |
| |||
0 commit comments