Skip to content

Commit

Permalink
Fix: positional argument specifiers are required by Python 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
cgohlke committed Dec 12, 2012
1 parent debb95f commit 5302eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/matplotlib/backends/backend_qt4.py
Expand Up @@ -337,7 +337,7 @@ def _get_key( self, event ):
# prepend the ctrl, alt, super keys if appropriate (sorted in that order) # prepend the ctrl, alt, super keys if appropriate (sorted in that order)
for modifier, prefix, Qt_key in self._modifier_keys: for modifier, prefix, Qt_key in self._modifier_keys:
if event.key() != Qt_key and int(event.modifiers()) & modifier == modifier: 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 return key


Expand Down

0 comments on commit 5302eff

Please sign in to comment.