aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromangraef <romangraef@loves.dicksinhisan.us>2018-07-11 15:41:15 +0200
committerromangraef <romangraef@loves.dicksinhisan.us>2018-07-11 15:41:15 +0200
commit89724b291f407ac118340c771fac6f57eff1cdd7 (patch)
treec338337a7b845b98f11043a2206e76fea7c93468
parente71aa06a9a1ea1e58aa192353622d40791f751d4 (diff)
downloadconfiglib-89724b291f407ac118340c771fac6f57eff1cdd7.tar.gz
configlib-89724b291f407ac118340c771fac6f57eff1cdd7.tar.bz2
configlib-89724b291f407ac118340c771fac6f57eff1cdd7.zip
fixed readme
-rw-r--r--README.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/README.md b/README.md
index 62d8bd8..c6cd9f9 100644
--- a/README.md
+++ b/README.md
@@ -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