@classmethod<EOL><INDENT>def from_trytes(cls, trytes, *args, **kwargs):<EOL><DEDENT>
chars = bytearray()<EOL>for t in trytes:<EOL><INDENT>converted = int_from_trits(t)<EOL>if converted < <NUM_LIT:0>:<EOL><INDENT>converted += <NUM_LIT><EOL><DEDENT>chars.append(AsciiTrytesCodec.alphabet[converted])<EOL><DEDENT>return cls(chars, *args, **kwargs)<EOL>
Creates a TryteString from a sequence of trytes.

:param trytes:
    Iterable of tryte values.

    In this context, a tryte is defined as a list containing 3
    trits.

:param args:
    Additional positional arguments to pass to the initializer.

:param kwargs:
    Additional keyword arguments to pass to the initializer.

References:

- :py:meth:`as_trytes`