##// END OF EJS Templates
test getattr / getitem behavior in Config...
test getattr / getitem behavior in Config for both section and non-section keys when undefined - get(Section) will create the section and return it - get(not_section) will create LazyConfigValue and return it

File last commit:

r1234:52b55407
r13470:22bb8f1e
Show More
__init__.py
10 lines | 558 B | text/x-python | PythonLexer
# encoding: utf-8
__docformat__ = "restructuredtext en"
#-------------------------------------------------------------------------------
# Copyright (C) 2005 Fernando Perez <fperez@colorado.edu>
# Brian E Granger <ellisonbg@gmail.com>
# Benjamin Ragan-Kelley <benjaminrk@gmail.com>
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-------------------------------------------------------------------------------