mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-22 02:29:07 +00:00
15 lines
272 B
Python
15 lines
272 B
Python
# -*- encoding: utf-8 -*-
|
|
|
|
|
|
class _GenConst(object):
|
|
def __init__(self, name):
|
|
self._name = name
|
|
|
|
def __repr__(self):
|
|
return u'<const: {}>'.format(self._name)
|
|
|
|
|
|
KEY_UP = _GenConst('↑')
|
|
KEY_DOWN = _GenConst('↓')
|
|
KEY_CTRL_C = _GenConst('Ctrl+C')
|