8000 [3.5] bpo-30197: Enhance functions swap_attr() and swap_item() in tes… · serhiy-storchaka/cpython@c2b218b · GitHub
[go: up one dir, main page]

Skip to content

Commit c2b218b

Browse files
[3.5] bpo-30197: Enhance functions swap_attr() and swap_item() in test.support. (pythonGH-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.. (cherry picked from commit d1a1def)
1 parent eed8c51 commit c2b218b

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)
    0