Commit 8380c7b
committed
string: Convert string module to package and import templatelib.
Convert the existing `string` module into a package with `__init__.py`
and `templatelib.py`. This is needed to support t-strings (if they are
enabled) because there is a built-in `string.templatelib` module with
built-in `Template` and `Interpolation` classes.
Signed-off-by: Damien George <damien@micropython.org>1 parent 41927d7 commit 8380c7b
File tree
3 files changed
+7
-2
lines changed- python-stdlib/string
- string
3 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments