File: ordered.py

package info (click to toggle)
python-dynaconf 3.2.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,900 kB
  • sloc: python: 21,464; sh: 9; makefile: 4
file content (7 lines) | stat: -rw-r--r-- 293 bytes parent folder | download
1
2
3
4
5
6
7
from collections import OrderedDict
from.import TomlEncoder
from.import TomlDecoder
class TomlOrderedDecoder(TomlDecoder):
	def __init__(A):super(A.__class__,A).__init__(_dict=OrderedDict)
class TomlOrderedEncoder(TomlEncoder):
	def __init__(A):super(A.__class__,A).__init__(_dict=OrderedDict)