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

Skip to content

Commit aa73f40

Browse files
[2.7] 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 4661a70 commit aa73f40

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)
    0