bpo-32500: Fix error messages for sequence and mapping C API. (GH-7846) · pythoncapi/cpython@a6fdddb · GitHub
Skip to content

Commit a6fdddb

Browse files
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

File tree

Lines changed: 4 additions & 0 deletions

Objects/abstract.c

Lines changed: 20 additions & 0 deletions

0 commit comments

Comments
 (0)