diff options
author | romangraef <romangraef@loves.dicksinhisan.us> | 2018-07-11 15:41:15 +0200 |
---|---|---|
committer | romangraef <romangraef@loves.dicksinhisan.us> | 2018-07-11 15:41:15 +0200 |
commit | 89724b291f407ac118340c771fac6f57eff1cdd7 (patch) | |
tree | c338337a7b845b98f11043a2206e76fea7c93468 | |
parent | e71aa06a9a1ea1e58aa192353622d40791f751d4 (diff) | |
download | configlib-89724b291f407ac118340c771fac6f57eff1cdd7.tar.gz configlib-89724b291f407ac118340c771fac6f57eff1cdd7.tar.bz2 configlib-89724b291f407ac118340c771fac6f57eff1cdd7.zip |
fixed readme
-rw-r--r-- | README.md | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -9,8 +9,8 @@ Examples { "config_var": "jo", "other_var": 3, - "SubConfig": { - "subconfivar": 10 + "subConfig": { + "subconfigvar": 10 } } ``` @@ -19,12 +19,13 @@ Examples ```py from configlib import BaseConfig +class SubConfig(object): + subconfigvar: int class Config(BaseConfig): config_var: str other_var: int - class SubConfig: - subconfigvar: int + subConfig: SubConfig # Usage |