Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
3d8790b3
Commit
3d8790b3
authored
Jun 11, 2013
by
Aaron Hill
Browse files
Add forward slash support in tweepy.utils.urlencode_noplus
parent
02a43b7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tweepy/utils.py
View file @
3d8790b3
...
...
@@ -98,6 +98,5 @@ def list_to_csv(item_list):
return
','
.
join
([
str
(
i
)
for
i
in
item_list
])
def
urlencode_noplus
(
query
):
return
'&'
.
join
([
'%s=%s'
%
(
quote
(
str
(
k
)),
quote
(
str
(
v
)))
\
return
'&'
.
join
([
'%s=%s'
%
(
quote
(
str
(
k
)
,
''
),
quote
(
str
(
v
)
,
''
))
\
for
k
,
v
in
query
.
iteritems
()])
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment