Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

16 wiersze
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)