# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

import yaml

yaml.load('''
strip: |-
   text↓
clip: |
   text↓
keep: |+
   text↓
''')

yaml.load('''
!!map {
    ? !!str "Not indented"
    : !!map {
        ? !!str "By one space"
        : !!str "By four\n spaces\n",
        ? !!str "Flow style"
        : !!seq [
            !!str "By two",
            !!str "Still by two",
            !!str "Again by two",
        ]
    }
}
''')

yaml.load('''
    !!map {
        ? !!str "plain"
        : !!str "text lines",
        ? !!str "quoted"
        : !!str "text lines",
        ? !!str "block"
        : !!str "text·®lines\n"
        }
''')

yaml.load('''
!!str
"specific\L\
trimmed\n\n\n\
as space"
''')



StarcoderdataJupyterScriptsDedupFiltered