From ab28d38e95b2ae8871c1f68ff3a690cf360ce60a Mon Sep 17 00:00:00 2001 From: Anthon van der Neut Date: Thu, 9 Aug 2018 08:34:41 +0200 Subject: fix issue #196 loosing items on cast to dict *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so usingthe WorkFlow pull-down (close to the top right of this page)* --- compat.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compat.py') diff --git a/compat.py b/compat.py index 3eb6464..c2db2bb 100644 --- a/compat.py +++ b/compat.py @@ -8,8 +8,10 @@ import sys import os import types +# fmt: off if False: # MYPY from typing import Any, Dict, Optional, List, Union, BinaryIO, IO, Text, Tuple, Optional # NOQA +# fmt: on _DEFAULT_YAML_VERSION = (1, 2) -- cgit v1.2.1