python3: listify the range() generator before appending to it

We explicitly need a list here.
This commit is contained in:
Eli Schwartz 2019-03-20 23:54:11 -04:00
parent 9386839320
commit 8e125b56a0
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6

View File

@ -135,7 +135,7 @@ def get_title_sort_pat(lang=None):
_ignore_starts = u'\'"'+u''.join(codepoint_to_chr(x) for x in
range(0x2018, 0x201e)+[0x2032, 0x2033])
list(range(0x2018, 0x201e))+[0x2032, 0x2033])
def title_sort(title, order=None, lang=None):