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

Add abstract base class syntax to tokenize/api.py #1223

Merged
merged 2 commits into from Jan 4, 2016

Conversation

mrecachinas
Copy link
Contributor

As per #1130.

@kmike
Copy link
Member

kmike commented Dec 8, 2015

This is Python 2 - only syntax for abc, in Python 3 it does nothing. Check six.with_metaclass or six.add_metaclass (https://pythonhosted.org/six/#six.with_metaclass)

@mrecachinas
Copy link
Contributor Author

@kmike Ah good catch! Fixing this...

@stevenbird
Copy link
Member

Thanks @mrecachinas, @kmike

@stevenbird stevenbird added this to the 3.2 milestone Dec 8, 2015
@mrecachinas
Copy link
Contributor Author

@stevenbird Ready for merge or should I add any other changes?

stevenbird added a commit that referenced this pull request Jan 4, 2016
Add abstract base class syntax to tokenize/api.py
@stevenbird stevenbird merged commit 3793828 into nltk:develop Jan 4, 2016
@stevenbird
Copy link
Member

Thanks @mrecachinas. Sorry for the delay. Looks like we have a model that could be applied across the toolkit now.

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.

None yet

3 participants