Show More
@@ -772,7 +772,7 b' class atomictempfile(object):' | |||
|
772 | 772 | file. When rename is called, the copy is renamed to the original |
|
773 | 773 | name, making the changes visible. |
|
774 | 774 | """ |
|
775 | def __init__(self, name, mode, createmode): | |
|
775 | def __init__(self, name, mode='w+b', createmode=None): | |
|
776 | 776 | self.__name = name |
|
777 | 777 | self._fp = None |
|
778 | 778 | self.temp = mktempcopy(name, emptyok=('w' in mode), |
General Comments 0
You need to be logged in to leave comments.
Login now