Skip to content

Conversation

@dbohomiakov
Copy link

No description provided.

import sys
if sys.version_info > (2, 7):
from urllib.parse import urlencode, urljoin
else:
Copy link

@andriisoldatenko andriisoldatenko Apr 12, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be great to use

try:
    from urllib.parse import urlparse
except ImportError:
     from urlparse import urlparse

def __init__(self, key, secret, version="0.3"):
self.key = key
self.secret = secret
if sys.version_info > (2, 7):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to use if version 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants