diff options
author | Anthon van der Neut <anthon@mnt.org> | 2016-11-22 09:24:43 +0100 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2016-11-22 09:24:43 +0100 |
commit | 77559065be3f3e8a76d76e733c26bb9a149f7b42 (patch) | |
tree | 37bb94598d77b0eb879bb958c7dad76f7f51fc8f /util.py | |
parent | a72e8cf2f64855d29106f4f5b1687e09bcc9284e (diff) | |
download | ruamel.yaml-77559065be3f3e8a76d76e733c26bb9a149f7b42.tar.gz |
memory usage optimisations0.13.1
Diffstat (limited to 'util.py')
-rw-r--r-- | util.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,7 +8,6 @@ from __future__ import print_function from __future__ import absolute_import from .compat import text_type, binary_type -from .main import round_trip_load # originally as comment @@ -24,6 +23,8 @@ def load_yaml_guess_indent(stream, **kw): - if there are no block sequences, indent is taken from nested mappings, block sequence indent is unset (None) in that case """ + from .main import round_trip_load + # load a yaml file guess the indentation, if you use TABs ... def leading_spaces(l): idx = 0 |