From a0700ecb8ab3666ec782b54ad3a342139f19151d Mon Sep 17 00:00:00 2001 From: yanyige Date: Sun, 6 Oct 2024 09:14:04 +0800 Subject: [PATCH] Delete useless functions and variables to make the code cleaner and easier to read. --- cyaron/io.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cyaron/io.py b/cyaron/io.py index 2d49fe5..0a6ea0c 100644 --- a/cyaron/io.py +++ b/cyaron/io.py @@ -198,14 +198,6 @@ def __write(self, file: IOBase, *args, **kwargs): file.write(make_unicode(arg)) if arg == "\n": self.is_first_char[file] = True - - def __clear_last_space(self, file: IOBase): - """ - Clear the last space(s) use truncate() - Args: - file:Which file to clear - """ - while True: def __clear(self, file: IOBase, pos: int = 0):