Serhiy Storchaka added the comment: I agree that this unlikely could cause visible effect, but this patch simplifies the code. LGTM.
Similar changes can be applied to other iteration code. dictiter_iternextkey, dict_keys, etc. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28580> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com