Mercurial > hgrepos > Python > libs > ConfigMix
view tests/data/conf2.py @ 494:60683361ebed
Test-script for checking the costs of different variable lookup methods
Variant from https://stackoverflow.com/questions/2714573/instance-variables-vs-class-variables-in-python
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Fri, 17 Dec 2021 19:24:54 +0100 |
| parents | 84b9578cacce |
| children |
line wrap: on
line source
# -*- coding: utf-8 -*- __all__ = ["key1", "nonexistingkey"] key1 = u"the next value" key2 = "non-exported value"
