Skip to content

Commit

Permalink
PEP 675: remove unnecessary reference to Self type PEP (#2297)
Browse files Browse the repository at this point in the history
  • Loading branch information
pradeep90 authored Feb 2, 2022
1 parent 1579748 commit 6b5bfdb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pep-0675.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 <https://bugs.python.org/issue500698>`_
and `attempted <https://github.com/felixgr/pytaint>`_ in the past, and
strings, similar to Perl's `taint <https://metacpan.org/pod/Taint>`_,
has been `considered <https://bugs.python.org/issue500698>`_ and
`attempted <https://github.com/felixgr/pytaint>`_ in the past, and
others may consider it in the future, such extensions are out of scope
for this PEP.

Expand Down Expand Up @@ -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
=========
Expand Down

0 comments on commit 6b5bfdb

Please sign in to comment.