mirror of
https://github.com/python/cpython.git
synced 2026-07-29 05:08:36 -04:00
The open() was missing 'w' to indicate it was in a write-mode. Even then, the open().close() operation was distracting because it is an unusual way to "touch" as file. Using os.remove() instead is simpler and less distracting.