gabalese / mondo-python

Python wrapper for the Mondo API.
MIT License
3 stars 1 forks source link

Should work with both Python 2.7 and Python >3 #7

Open gabalese opened 8 years ago

SupraJames commented 8 years ago

Which python does it currently work with? I've tried python 2.6, 2.7 and 3.4 but I get syntax errors at various places, and don't really have a clue what's broken. e.g

  File "mondo/mondo.py", line 19
    def __init__(self, access_token: str):
                                   ^
SyntaxError: invalid syntax
gabalese commented 8 years ago

@SupraJames it's python 3.5 only for the moment, I've been using type hints, available on 3.5+. I'll drop them altogether in a coming PR.