Skip to content

Instantly share code, notes, and snippets.

Valentin Lab vaab

Block or report user

Report or block vaab

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@vaab
vaab / yaml_ordered_dict.py
Created Jan 11, 2016 — forked from enaeseth/yaml_ordered_dict.py
Load YAML mappings as ordered dictionaries
View yaml_ordered_dict.py
import yaml
import yaml.constructor
try:
# included in standard lib from Python 2.7
from collections import OrderedDict
except ImportError:
# try importing the backported drop-in replacement
# it's available on PyPI
from ordereddict import OrderedDict
You can’t perform that action at this time.