Yury Selivanov added the comment: I think it should be changed to `pop(i=-1)`. ---------- nosy: +yselivanov _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue24323> _______________________________________