def __init__(self, original, prefix="output_"):
        """
        @param original: Any old object with a bunch of methods using the specified
            method prefix.

        @param prefix: The string prefix which will be used for method
            dispatch.  For example, if C{"foo_"} is given then to execute the
            output symbol I{BAR}, C{original.foo_BAR} will be called.
        @type prefix: L{str}
        """
        self.original = original
        self.prefix = prefix
        try:
            identifier = self.original.identifier
        except __HOLE__:
            self._identifier = repr(self.original).decode("ascii")
        else:
            self._identifier = identifier()
dataset/ETHPy150Open ClusterHQ/machinist/machinist/_fsm.py/MethodSuffixOutputer.__init__