From 4a01e073aee4b3b1da1f74531ca5018b565eeddb Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 22 Jul 2018 18:26:50 +0200 Subject: Replace list() with [] everywhere. --- poezio/tabs/basetabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/tabs') diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py index 34945c27..3584b4dd 100644 --- a/poezio/tabs/basetabs.py +++ b/poezio/tabs/basetabs.py @@ -569,7 +569,7 @@ class ChatTab(Tab): """ # build the list of the recent words char_we_dont_want = string.punctuation + ' ’„“”…«»' - words = list() + words = [] for msg in self._text_buffer.messages[:-40:-1]: if not msg: continue -- cgit v1.2.3