view tests/data/conf10.py @ 566:dc2e2384c8c7

fast_interpolate_variables(): allow omission of the cache variable. Allow also setting the cache variable to None. All these settings disable the interpolation cache.
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 07 Jan 2022 00:37:04 +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': {}
    }
}