Fix pickling of rangeiter. rangeiter_setstate would not allow settin… · pythoncapi/cpython@4ca688e · GitHub
Skip to content

Commit 4ca688e

Browse files
author
Kristján Valur Jónsson
committed
Fix pickling of rangeiter. rangeiter_setstate would not allow setting it
to the exhausted state.
1 parent 682ea5f commit 4ca688e

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

Lib/test/test_range.py

Lines changed: 12 additions & 0 deletions

Objects/rangeobject.c

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)