Fix parameter name in README

This commit is contained in:
Elara 2024-11-10 07:32:15 +00:00
parent a82533d34e
commit e4d273e10f

View File

@ -27,7 +27,7 @@ with open('test.hcl', 'r') as fl:
cfg = hisscl.load(fl, name=fl.name) cfg = hisscl.load(fl, name=fl.name)
``` ```
Each `load*` function has an optional `vars: dict[str, Any]` parameter, whose elements are used as variables in your config file. For example, if you have `x = y + 1`, `y` must be defined in `globals`. Each `load*` function has an optional `vars: dict[str, Any]` parameter, whose elements are used as variables in your config file. For example, if you have `x = y + 1`, `y` must be defined in `vars`.
For more advanced use-cases, `lexer`, `parser`, `ast`, and `interp` submodules are provided. For more advanced use-cases, `lexer`, `parser`, `ast`, and `interp` submodules are provided.