view tests/data/conf10.py @ 478:ff8a9a7c6a93

Avoid some repeated string/unicode conversions for constants used by quoting
author Franz Glasner <f.glasner@feldmann-mg.com>
date Fri, 17 Dec 2021 11:46:36 +0100
parents d22985d6806e
children
line wrap: on
line source

# -*- coding: utf-8 -*-

key1 = u"in the root namespace"
key2 = u"in the root namespace -- too"

tree1 = {
    'key3': 0x20,

    'tree2': {
        'key4': u"get this as `tree1.tree2.key4'",
        'key5': True,
        'key6': u"off",
        'key7': [],
        'key8': [
            u"val1",
            u"val2",
            u"{{key1}}"
        ],
        'key9': {}
    }
}