remove `import new` from cbook.py #1642

Merged
merged 1 commit into from Jan 17, 2013

Conversation

Projects
None yet
3 participants
@tacaswell
Member

tacaswell commented Jan 7, 2013

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.

Thomas A Caswell
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.
@mdboom

This comment has been minimized.

Show comment Hide comment
@mdboom

mdboom Jan 7, 2013

Member

👍

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

@dmcdougall dmcdougall merged commit 0179481 into matplotlib:master Jan 17, 2013

1 check failed

default The Travis build failed
Details

@tacaswell tacaswell deleted the tacaswell:remove_import_new branch Jan 17, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment