parameters: (vcs, method)
return_statement: return decorate
docstring: Decorator to mark a method as the handler for a particular VCS.
docstring_summary: Decorator to mark a method as the handler for a particular VCS.
docstring_tokens: Decorator to mark a method as the handler for a particular VCS .
function: def register_vcs_handler(vcs, method):  # decorator
      """Decorator to mark a method as the handler for a particular VCS."""
      def decorate(f):
          """Store f in HANDLERS[vcs][method]."""
          if vcs not in HANDLERS:
              HANDLERS[vcs] = {}
          HANDLERS[vcs][method] = f
          return f
      return decorate
function_tokens: def register_vcs_handler ( vcs , method ) : # decorator def decorate ( f ) : """Store f in HANDLERS[vcs][method].""" if vcs not in HANDLERS : HANDLERS [ vcs ] = { } HANDLERS [ vcs ] [ method ] = f return f return decorate