From b29f80a6f53893ad353b7ec068f8b7b7046fa28d Mon Sep 17 00:00:00 2001 From: Richard Neumann Date: Sat, 28 Jan 2023 13:05:29 +0100 Subject: [PATCH] Remove __slots__ This optimization is not needed --- rcon/readline.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/rcon/readline.py b/rcon/readline.py index 4373cf8..0eeef7d 100644 --- a/rcon/readline.py +++ b/rcon/readline.py @@ -18,8 +18,6 @@ HIST_FILE = Path.home().joinpath('.rconshell_history') class CommandHistory: """Context manager for the command line history.""" - __slots__ = ('logger', 'file') - def __init__(self, logger: Logger, file: Path = HIST_FILE): """Set the logger to use.""" self.logger = logger