Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions peps/pep-0750.rst
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ Examples
========

All examples in this section of the PEP have fully tested reference implementations
available in the public `pep750-examples <https://github.com/davepeck/pep750-examples>`_
available in the public `pep750-examples <https://github.com/t-strings/pep750-examples>`_
git repository.


Expand Down Expand Up @@ -602,8 +602,8 @@ specifiers like ``:.2f``. The full code is fairly simple:

See `fstring.py`__ and `test_fstring.py`__.

__ https://github.com/davepeck/pep750-examples/blob/main/pep/fstring.py
__ https://github.com/davepeck/pep750-examples/blob/main/pep/test_fstring.py
__ https://github.com/t-strings/pep750-examples/blob/main/pep/fstring.py
__ https://github.com/t-strings/pep750-examples/blob/main/pep/test_fstring.py


Example: Structured Logging
Expand Down Expand Up @@ -775,8 +775,8 @@ logging:

See `logging.py`__ and `test_logging.py`__.

__ https://github.com/davepeck/pep750-examples/blob/main/pep/logging.py
__ https://github.com/davepeck/pep750-examples/blob/main/pep/test_logging.py
__ https://github.com/t-strings/pep750-examples/blob/main/pep/logging.py
__ https://github.com/t-strings/pep750-examples/blob/main/pep/test_logging.py


Example: HTML Templating
Expand All @@ -785,7 +785,7 @@ Example: HTML Templating
This PEP contains several short HTML templating examples. It turns out that the
"hypothetical" ``html()`` function mentioned in the `Motivation`_ section
(and a few other places in this PEP) exists and is available in the
`pep750-examples repository <https://github.com/davepeck/pep750-examples/>`_.
`pep750-examples repository <https://github.com/t-strings/pep750-examples/>`_.
If you're thinking about parsing a complex grammar with template strings, we
hope you'll find it useful.

Expand Down Expand Up @@ -1081,8 +1081,8 @@ and is able to ``await`` an interpolation's value.

See `afstring.py`__ and `test_afstring.py`__.

__ https://github.com/davepeck/pep750-examples/blob/main/pep/afstring.py
__ https://github.com/davepeck/pep750-examples/blob/main/pep/test_afstring.py
__ https://github.com/t-strings/pep750-examples/blob/main/pep/afstring.py
__ https://github.com/t-strings/pep750-examples/blob/main/pep/test_afstring.py


Approaches to Template Reuse
Expand Down Expand Up @@ -1157,16 +1157,16 @@ which supports the full grammar of format strings.

See `format.py`__ and `test_format.py`__.

__ https://github.com/davepeck/pep750-examples/blob/main/pep/format.py
__ https://github.com/davepeck/pep750-examples/blob/main/pep/test_format.py
__ https://github.com/t-strings/pep750-examples/blob/main/pep/format.py
__ https://github.com/t-strings/pep750-examples/blob/main/pep/test_format.py


Reference Implementation
========================

A CPython implementation of PEP 750 is `available <https://github.com/lysnikolaou/cpython/tree/tstrings>`_.

There is also a public repository of `examples and tests <https://github.com/davepeck/pep750-examples>`_
There is also a public repository of `examples and tests <https://github.com/t-strings/pep750-examples>`_
built around the reference implementation. If you're interested in playing with
template strings, this repository is a great place to start.

Expand Down