From e6095bd7d179da4a0f4d9d79640403981a2963de Mon Sep 17 00:00:00 2001 From: Dave Date: Tue, 29 Jul 2025 10:47:33 -0700 Subject: [PATCH] PEP750: Update links to example code --- peps/pep-0750.rst | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/peps/pep-0750.rst b/peps/pep-0750.rst index c74f5d6410c..5d247de3e43 100644 --- a/peps/pep-0750.rst +++ b/peps/pep-0750.rst @@ -549,7 +549,7 @@ Examples ======== All examples in this section of the PEP have fully tested reference implementations -available in the public `pep750-examples `_ +available in the public `pep750-examples `_ git repository. @@ -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 @@ -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 @@ -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 `_. +`pep750-examples repository `_. If you're thinking about parsing a complex grammar with template strings, we hope you'll find it useful. @@ -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 @@ -1157,8 +1157,8 @@ 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 @@ -1166,7 +1166,7 @@ Reference Implementation A CPython implementation of PEP 750 is `available `_. -There is also a public repository of `examples and tests `_ +There is also a public repository of `examples and tests `_ built around the reference implementation. If you're interested in playing with template strings, this repository is a great place to start.