Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

16 řádky
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)