Read configuration from a given string.
(self, string, source='<string>')
| 775 | self._read(f, source) |
| 776 | |
| 777 | def read_string(self, string, source='<string>'): |
| 778 | """Read configuration from a given string.""" |
| 779 | sfile = io.StringIO(string) |
| 780 | self.read_file(sfile, source) |
| 781 | |
| 782 | def read_dict(self, dictionary, source='<dict>'): |
| 783 | """Read configuration from a dictionary. |