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

Make compatible with both old & new typing versions #39

Merged

Conversation

dahlia
Copy link
Member

@dahlia dahlia commented Sep 21, 2016

Whereas on Python/typing < 3.5.2 type parameters are stored to __parameters__ attribute, on Python/typing ≥ 3.5.2 __parameters__ attribute is gone and __args__ attribute comes instead.

This patch makes the code compatible with both old and new typing versions.

@kanghyojun kanghyojun merged commit 8006567 into nirum-lang:master Sep 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants