Skip to content

Commit 246c348

Browse files
committed
Merge pull request #6 from mdboom/style/py26-fixes
Fix for Python 2.6
2 parents 1d87f34 + 79f83c9 commit 246c348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ def is_url(filename):
895895
def _url_lines(f):
896896
# Compatibility for urlopen in python 3, which yields bytes.
897897
for line in f:
898-
yield line.decode(encoding='utf8')
898+
yield line.decode('utf8')
899899

900900

901901
@contextlib.contextmanager

0 commit comments

Comments
 (0)