您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

16 行
354B

  1. from collections import OrderedDict
  2. from toml import TomlEncoder
  3. from toml import TomlDecoder
  4. class TomlOrderedDecoder(TomlDecoder):
  5. def __init__(self):
  6. super(self.__class__, self).__init__(_dict=OrderedDict)
  7. class TomlOrderedEncoder(TomlEncoder):
  8. def __init__(self):
  9. super(self.__class__, self).__init__(_dict=OrderedDict)