summaryrefslogtreecommitdiff
path: root/poezio/tabs
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-07-22 18:26:50 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-07-22 18:26:50 +0200
commit4a01e073aee4b3b1da1f74531ca5018b565eeddb (patch)
tree241317b274c2b7dd29fb6e3b0286cce7bbaee773 /poezio/tabs
parentf107ecd9536d114a1aef54ce426b5b5c7c97861f (diff)
downloadpoezio-4a01e073aee4b3b1da1f74531ca5018b565eeddb.tar.gz
poezio-4a01e073aee4b3b1da1f74531ca5018b565eeddb.tar.bz2
poezio-4a01e073aee4b3b1da1f74531ca5018b565eeddb.tar.xz
poezio-4a01e073aee4b3b1da1f74531ca5018b565eeddb.zip
Replace list() with [] everywhere.
Diffstat (limited to 'poezio/tabs')
-rw-r--r--poezio/tabs/basetabs.py2
1 files changed, 1 insertions, 1 deletions
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