From 6b5bfdb1c41d935fca7fa22a529dd6c72ce1c513 Mon Sep 17 00:00:00 2001 From: Pradeep Kumar Date: Wed, 2 Feb 2022 13:43:20 -0800 Subject: [PATCH] PEP 675: remove unnecessary reference to Self type PEP (#2297) --- pep-0675.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pep-0675.rst b/pep-0675.rst index 42bde9275fa..da28a1c4ed3 100644 --- a/pep-0675.rst +++ b/pep-0675.rst @@ -562,8 +562,8 @@ annotating it as ``x: LiteralString``: Runtime Behavior ================ -We propose an implementation for ``typing.LiteralString`` similar to that for -``typing.Self`` from :pep:`673`. +We propose an implementation for ``typing.LiteralString`` similar to +``typing.NoReturn``. Rejected Alternatives @@ -734,8 +734,9 @@ type checker. This extension to the ``LiteralString`` concept would dramatically increase the scope of the proposal by requiring changes to one of the most fundamental types in Python. While runtime taint checking on -strings has been `considered `_ -and `attempted `_ in the past, and +strings, similar to Perl's `taint `_, +has been `considered `_ and +`attempted `_ in the past, and others may consider it in the future, such extensions are out of scope for this PEP. @@ -1283,7 +1284,7 @@ Thanks Thanks to the following people for their feedback on the PEP: Edward Qiu, Jia Chen, Shannon Zhu, Gregory P. Smith, Никита Соболев, -CAM Gerlach, and Shengye Wan +CAM Gerlach, Arie Bovenberg, David Foster, and Shengye Wan Copyright =========