Skip to content

Commit 1ac438f

Browse files
committed
Re-add statement on top-level module.
1 parent 0d62f21 commit 1ac438f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

peps/pep-0750.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,6 +1283,11 @@ Previous versions of this PEP proposed placing the ``Template`` and
12831283
and even in a new top-level module, ``templatelib``. The final decision was to
12841284
place them in ``string.templatelib``.
12851285

1286+
One argument in favor of creating an entirely new module is that it would allow
1287+
for future addition of related methods (like ``convert()``) and for
1288+
potential future template processing code to be added to submodules
1289+
(``string.templatelib.shell``, etc.).
1290+
12861291

12871292
Enable Full Reconstruction of Original Template Literal
12881293
-------------------------------------------------------

0 commit comments

Comments
 (0)