code: def from_simple_str(cls, s):
          
          if not isinstance(s, str):
              raise TypeError("Expected an str instance, received %r" % (s,))
          return cls(cls.bits_from_simple_str(s))
docs: Accepts only the output of to_simple_str(). The output of __str__() is invalid as input.