Permalink
Browse files

Fix: positional argument specifiers are required by Python 2.6

  • Loading branch information...
1 parent debb95f commit 5302eff19b50fdd9667fa07607db3bee796450ab @cgohlke cgohlke committed Dec 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/matplotlib/backends/backend_qt4.py
@@ -337,7 +337,7 @@ def _get_key( self, event ):
# prepend the ctrl, alt, super keys if appropriate (sorted in that order)
for modifier, prefix, Qt_key in self._modifier_keys:
if event.key() != Qt_key and int(event.modifiers()) & modifier == modifier:
- key = u'{}+{}'.format(prefix, key)
+ key = u'{0}+{1}'.format(prefix, key)
return key

0 comments on commit 5302eff

Please sign in to comment.