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

error as following with python 3.6.2 #4

Open
Abd2z opened this issue Nov 22, 2017 · 1 comment
Open

error as following with python 3.6.2 #4

Abd2z opened this issue Nov 22, 2017 · 1 comment

Comments

@Abd2z
Copy link

Abd2z commented Nov 22, 2017

Thank you for your work.

it seems not working with python 3.6 . I got the follwoing error
elif isinstance(keywords, basestring):
NameError: name 'basestring' is not defined

I fond that basestring is not supported anymore in python 3.x

Appreciate your feedback
Thank you

@jrmasiero
Copy link

The builtin basestring abstract type was removed. Use str instead. The str and bytes types don’t have functionality enough in common to warrant a shared base class. The 2to3 tool (see below) replaces every occurrence of basestring with str.

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