cpython/Lib/test/support
Serhiy Storchaka d1a1def7bf bpo-30197: Enhance functions swap_attr() and swap_item() in test.support. (#1341)
* bpo-30197: Enhance functions swap_attr() and swap_item() in test.support.

They now work when delete replaced attribute or item inside the with
statement.  The old value of the attribute or item (or None if it doesn't
exist) now will be assigned to the target of the "as" clause, if there is
one.

* Update docstrings.
2017-04-28 18:17:26 +02:00
..
__init__.py bpo-30197: Enhance functions swap_attr() and swap_item() in test.support. (#1341) 2017-04-28 18:17:26 +02:00
script_helper.py Merge 3.6 2017-01-12 11:53:20 +01:00