code: def outputAlphabet(self):
          
          return set(
              chain.from_iterable(
                  outputSymbols for
                  (inState, inputSymbol, outState, outputSymbols)
                  in self._transitions
              )
          )
docs: The full set of symbols which can be produced by this automaton.