Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python3 error on __repr__(self) #30

Closed
xuv opened this issue Dec 5, 2014 · 1 comment
Closed

Python3 error on __repr__(self) #30

xuv opened this issue Dec 5, 2014 · 1 comment

Comments

@xuv
Copy link

xuv commented Dec 5, 2014

Hello

Here's an error I get when running the library with Python 3.2.3

    return u'<TumblrAPI: %s>' % self.app_key
                            ^
SyntaxError: invalid syntax

I can solve it by removing the 'u' in front of '<TumblrAPI: %s>', but not sure if that's the way to go. Or why is it throwing an error in the first place.

@michaelhelmick
Copy link
Owner

This appears to be fixed in Python 3.5.2

screenshot 2017-02-08 21 20 29

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

No branches or pull requests

2 participants