projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59d4d92
)
Optimize list_to_csv function
author
Harmon
<Harmon758@gmail.com>
Sun, 3 Jan 2021 02:03:38 +0000
(20:03 -0600)
committer
Harmon
<Harmon758@gmail.com>
Sun, 3 Jan 2021 02:03:38 +0000
(20:03 -0600)
tweepy/utils.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/utils.py
b/tweepy/utils.py
index a2ea4a93cad765d4d49ec2c22dd1bb304955a896..b1a25155ba981ae30646f402d9d1e16abbe00135 100644
(file)
--- a/
tweepy/utils.py
+++ b/
tweepy/utils.py
@@
-24,4
+24,4
@@
def convert_to_utf8_str(arg):
def list_to_csv(item_list):
if item_list:
- return ','.join(
[str(i) for i in item_list]
)
+ return ','.join(
map(str, item_list)
)