Python utility library
- Python 98.5%
- Makefile 1.3%
- Shell 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
This commit derives StringTree from Mapping, allowing it to be used as a drop-in-replacement for dictionaries returned from load_yaml(). Note that this is a breaking change, because it changes the return value of __getitem__() from str to StringTree. Either this or get() have to give, because the base class uses __getitem__() to implement get(), and returning different types from these, as it's currently the case would break caller expectations. To mitigate the pain of the breakage, __str__() now returns .content or "", and can be used to easily convert []'s return value to a string. Signed-off-by: Jan Lindemann <jan@janware.com> |
||
| .github/workflows | ||
| bin | ||
| conf | ||
| make | ||
| scripts | ||
| src | ||
| test | ||
| .gitignore | ||
| HASH | ||
| Makefile | ||
| RELEASES | ||
| VERSION | ||