Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a3ce79e

Browse filesBrowse files
author
Andrea Bedini
committed
Remove disabled code.
1 parent 8bba2a4 commit a3ce79e
Copy full SHA for a3ce79e

File tree

Expand file treeCollapse file tree

1 file changed

+0
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-6
lines changed

‎lib/matplotlib/__init__.py

Copy file name to clipboardExpand all lines: lib/matplotlib/__init__.py
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,6 @@ def _forward_ilshift(self, other):
150150
# Python 3
151151
from imp import reload
152152

153-
# Needed for toolkit setuptools support
154-
if 0:
155-
try:
156-
__import__('pkg_resources').declare_namespace(__name__)
157-
except ImportError:
158-
pass # must not have setuptools
159153

160154
if not hasattr(sys, 'argv'): # for modpython
161155
sys.argv = ['modpython']

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.