Set the object's key to a value represented by a string.
(self, key, string: str)
| 718 | return cls._type(key).parse(string) |
| 719 | |
| 720 | def set_parse(self, key, string: str): |
| 721 | """Set the object's key to a value represented by a string.""" |
| 722 | self[key] = self._parse(key, string) |
| 723 | |
| 724 | def __getstate__(self): |
| 725 | """Return the state of the object for pickling. |
no test coverage detected