keypressmgr.py
def _verifyKeysAttr(func): # {{{0
  "Decorator: verify self._keys is not None"
  @functools.wraps(func)
  def wrappedFunc(self, *args, **kwargs):
    if self._keys is not None:
      return func(self, *args, **kwargs)
  return wrappedFunc
Decorator: verify self._keys is not None
verify self._keys is not None
verify self . _keys is not None
def _verifyKeysAttr(func): 
  @functools.wraps(func)
  def wrappedFunc(self, *args, **kwargs):
    if self._keys is not None:
      return func(self, *args, **kwargs)
  return wrappedFunc
def _verifyKeysAttr ( func ) : @ functools . wraps ( func ) def wrappedFunc ( self , * args , ** kwargs ) : if self . _keys is not None : return func ( self , * args , ** kwargs ) return wrappedFunc
Decorator: verify self._keys is not None
Decorator : verify self . _keys is not None
# {{{0 "Decorator: verify self._keys is not None"
func