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

remove import new from cbook.py #1642

Merged
merged 1 commit into from Jan 17, 2013

Conversation

tacaswell
Copy link
Member

Related to the other efforts to clean up cbook.py

removed the import new in favor of import types for all versions.

types is supported from 2.2 and new is deprecated as of 2.6.

This is the only place import new appears in the code.

types is supported from 2.2 and new is deprecated as of 2.6.

This is the only place `import new` appears in the code.
@mdboom
Copy link
Member

mdboom commented Jan 7, 2013

👍

@tacaswell tacaswell closed this Jan 16, 2013
@tacaswell tacaswell reopened this Jan 16, 2013
dmcdougall added a commit that referenced this pull request Jan 17, 2013
remove `import new` from cbook.py
@dmcdougall dmcdougall merged commit 0179481 into matplotlib:master Jan 17, 2013
@tacaswell tacaswell deleted the remove_import_new branch January 17, 2013 01:49
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