Berker Peksag added the comment: We also have swap_attr() and swap_item() helpers in Lib/test/support/__init__.py. I've used a simplified version of swap_attr() in my patch.
Since this is basically a document improvement I removed Python 2.7 from the versions field. ---------- keywords: +patch nosy: +berker.peksag stage: -> patch review type: -> enhancement versions: +Python 3.6 -Python 2.7, Python 3.4 Added file: http://bugs.python.org/file43095/issue22374.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22374> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com