Raymond Hettinger added the comment: This looks correct and it improves readability.
One nit, please put the doubled with on a single line instead of using the awkward line break (which looks weird with respect to the indentation of the with-block): + with open(config_c_in) as infp, bkfile.open(config_c, 'w') as outfp: ---------- nosy: +rhettinger _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue22826> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
