summaryrefslogtreecommitdiff
path: root/compat.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2019-07-25 23:29:34 +0200
committerAnthon van der Neut <anthon@mnt.org>2019-07-25 23:29:34 +0200
commit7d50ad630dc3c4efff391008f3cd3cdd250cbacd (patch)
tree278e918166fc42fcf2dad4e5d639eb539e1598e6 /compat.py
parent83b2bbba61d2ada9911dc1d07a121b141c6857ef (diff)
downloadruamel.yaml-7d50ad630dc3c4efff391008f3cd3cdd250cbacd.tar.gz
split off C library into separate package0.16.0
Diffstat (limited to 'compat.py')
-rw-r--r--compat.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat.py b/compat.py
index bc4c1c2..5529247 100644
--- a/compat.py
+++ b/compat.py
@@ -251,6 +251,9 @@ def check_anchorname_char(ch):
def version_tnf(t1, t2=None):
# type: (Any, Any) -> Any
+ """
+ return True if ruamel.yaml version_info < t1, None if t2 is specified and bigger else False
+ """
from ruamel.yaml import version_info # NOQA
if version_info < t1: