[docs] doc bug at https://docs.python.org/3/library/zipfile.html#module-zipfile ?
senthil at uthcode.com
Thu Jan 21 23:46:31 EST 2016
On Wed, Jan 20, 2016 at 4:27 AM, <keith.briggs at bt.com> wrote:
> > 'x' to exclusive create and write a new file
It means always create a new file. Don't append and if the file exists,
don't overwrite, but throw a FileExistsError Exception.
I think, it could be clarified a bit. It could be stated as "Exclusively
create and write a new file. Unlike 'w', if the file already exists, 'x'
mode will raise a FileExistsError exception."
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the docs