code: def shortcut(*names):
      
      def wrap(f):
          globals_ = f.__globals__
          for name in names:
              globals_[name] = f
              if '__all__' in globals_ and name not in globals_['__all__']:
                  globals_['__all__'].append(name)
          return f
      return wrap
docs: Add an shortcut (alias) to a decorated function, but not to class methods!
  
      Use aliased/alias decorators for class members!
  
      Calling the shortcut (alias) will call the decorated function. The shortcut name will be appended
      to the module's __all__ variable and the shortcut function will inherit the function's docstring
  
      Examples
      --------
      In some module you have defined a function
      >>> @shortcut('is_tmatrix') # doctest: +SKIP
      >>> def is_transition_matrix(args): # doctest: +SKIP
      ...     pass # doctest: +SKIP
      Now you are able to call the function under its short name
      >>> is_tmatrix(args) # doctest: +SKIP