Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2de8b18

Browse files
committed
Merge pull request #3331 from cgohlke/patch-2
Restore compatibility with Python 3.2
2 parents 9900271 + 0895d3d commit 2de8b18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_qt5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def _get_key(self, event):
381381
key = key.lower()
382382

383383
mods.reverse()
384-
return u'+'.join(mods + [key])
384+
return six.u('+').join(mods + [key])
385385

386386
def new_timer(self, *args, **kwargs):
387387
"""

0 commit comments

Comments
 (0)