OSDN Git Service

Add FileWrap.writelines.
authorAiwota Programmer <aiwotaprog@tetteke.tk>
Sun, 24 Sep 2006 07:53:50 +0000 (16:53 +0900)
committerAiwota Programmer <aiwotaprog@tetteke.tk>
Sun, 24 Sep 2006 07:53:50 +0000 (16:53 +0900)
src/FukuiNoNamari/misc.py

index 27ebbed..ca852b0 100644 (file)
@@ -166,6 +166,8 @@ class FileWrap:
         self.file().seek(size)
     def write(self, data):
         self.file().write(data)
+    def writelines(self, sequence):
+        self.file().writelines(sequence)
     def close(self):
         if self.__file:
             self.__file.close()