From 3363aeadfb5cca02e794ed75779edaaea1119f74 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 15 Jul 2022 19:54:21 +0300 Subject: [PATCH 1/4] PEP 501: Fix footnotes --- pep-0501.txt | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/pep-0501.txt b/pep-0501.txt index 65614613f56..2f1c8326a9b 100644 --- a/pep-0501.txt +++ b/pep-0501.txt @@ -554,31 +554,31 @@ Acknowledgements References ========== -.. [#] %-formatting - (https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting) +* %-formatting + (https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting) -.. [#] str.format - (https://docs.python.org/3/library/string.html#formatstrings) +* str.format + (https://docs.python.org/3/library/string.html#formatstrings) -.. [#] string.Template documentation - (https://docs.python.org/3/library/string.html#template-strings) +* string.Template documentation + (https://docs.python.org/3/library/string.html#template-strings) -.. [#] :pep:`215`: String Interpolation +* :pep:`215`: String Interpolation -.. [#] :pep:`292`: Simpler String Substitutions +* :pep:`292`: Simpler String Substitutions -.. [#] :pep:`3101`: Advanced String Formatting +* :pep:`3101`: Advanced String Formatting -.. [#] :pep:`498`: Literal string formatting +* :pep:`498`: Literal string formatting -.. [#] FormattableString and C# native string interpolation - (https://msdn.microsoft.com/en-us/library/dn961160.aspx) +* FormattableString and C# native string interpolation + (https://msdn.microsoft.com/en-us/library/dn961160.aspx) -.. [#] IFormattable interface in C# (see remarks for globalization notes) - (https://msdn.microsoft.com/en-us/library/system.iformattable.aspx) +* IFormattable interface in C# (see remarks for globalization notes) + (https://msdn.microsoft.com/en-us/library/system.iformattable.aspx) -.. [#] Running external commands in Julia - (http://julia.readthedocs.org/en/latest/manual/running-external-programs/) +* Running external commands in Julia + (http://julia.readthedocs.org/en/latest/manual/running-external-programs/) Copyright ========= From 0bdb89ede1add84d44edbb48c0db970caa4b888d Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 15 Jul 2022 19:57:10 +0300 Subject: [PATCH 2/4] PEP 501: Update MSDN links to HTTPS/redirects and fix 404 Julia link --- pep-0501.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pep-0501.txt b/pep-0501.txt index 2f1c8326a9b..19cccff5d70 100644 --- a/pep-0501.txt +++ b/pep-0501.txt @@ -572,13 +572,13 @@ References * :pep:`498`: Literal string formatting * FormattableString and C# native string interpolation - (https://msdn.microsoft.com/en-us/library/dn961160.aspx) + (https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/tokens/interpolated) * IFormattable interface in C# (see remarks for globalization notes) - (https://msdn.microsoft.com/en-us/library/system.iformattable.aspx) + (https://docs.microsoft.com/en-us/dotnet/api/system.iformattable) * Running external commands in Julia - (http://julia.readthedocs.org/en/latest/manual/running-external-programs/) + (https://docs.julialang.org/en/v1/manual/running-external-programs/) Copyright ========= From eb176c5d62de96ffb95bf0c88d5c2142ab5e0208 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 15 Jul 2022 19:57:29 +0300 Subject: [PATCH 3/4] PEP 501: Remove redudant emacs metadata --- pep-0501.txt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pep-0501.txt b/pep-0501.txt index 19cccff5d70..c07e973d0d0 100644 --- a/pep-0501.txt +++ b/pep-0501.txt @@ -584,13 +584,3 @@ Copyright ========= This document has been placed in the public domain. - - -.. - Local Variables: - mode: indented-text - indent-tabs-mode: nil - sentence-end-double-space: t - fill-column: 70 - coding: utf-8 - End: From ece27d0c1d1471c477961cc82d1cfed1f84d0fe7 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 29 Jul 2022 12:56:05 +0300 Subject: [PATCH 4/4] PEP 501: Convert to proper links --- pep-0501.txt | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/pep-0501.txt b/pep-0501.txt index c07e973d0d0..f368a54bd7d 100644 --- a/pep-0501.txt +++ b/pep-0501.txt @@ -554,14 +554,14 @@ Acknowledgements References ========== -* %-formatting - (https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting) +* `%-formatting + `_ -* str.format - (https://docs.python.org/3/library/string.html#formatstrings) +* `str.format + `_ -* string.Template documentation - (https://docs.python.org/3/library/string.html#template-strings) +* `string.Template documentation + `_ * :pep:`215`: String Interpolation @@ -571,14 +571,14 @@ References * :pep:`498`: Literal string formatting -* FormattableString and C# native string interpolation - (https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/tokens/interpolated) +* `FormattableString and C# native string interpolation + `_ -* IFormattable interface in C# (see remarks for globalization notes) - (https://docs.microsoft.com/en-us/dotnet/api/system.iformattable) +* `IFormattable interface in C# (see remarks for globalization notes) + `_ -* Running external commands in Julia - (https://docs.julialang.org/en/v1/manual/running-external-programs/) +* `Running external commands in Julia + `_ Copyright =========