diff options
author | Anthon van der Neut <anthon@mnt.org> | 2016-08-15 22:46:12 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2016-08-15 22:46:12 +0200 |
commit | 438db3b9b29e997a6fc2674c95a2c76192b5a567 (patch) | |
tree | c16dc7d660b8d62862564fa669377623adb3a159 /scalarstring.py | |
parent | 0da1ffde8bf06a1c84693a431aa3de5b02e767b6 (diff) | |
download | ruamel.yaml-438db3b9b29e997a6fc2674c95a2c76192b5a567.tar.gz |
initial type info, drop 2.60.12.0
Diffstat (limited to 'scalarstring.py')
-rw-r--r-- | scalarstring.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/scalarstring.py b/scalarstring.py index d3abaff..eb10910 100644 --- a/scalarstring.py +++ b/scalarstring.py @@ -3,14 +3,11 @@ from __future__ import absolute_import from __future__ import print_function +from ruamel.yaml.compat import text_type + __all__ = ["ScalarString", "PreservedScalarString", "SingleQuotedScalarString", "DoubleQuotedScalarString"] -try: - from .compat import text_type -except (ImportError, ValueError): # for Jython - from ruamel.yaml.compat import text_type - class ScalarString(text_type): def __new__(cls, *args, **kw): |