Skip to content

Commit f534f69

Browse files
committed
PEP 675: fix link to other PEP.
An earlier codemod broke the link when trying to use the `:pep:` style for the link.
1 parent 7fb86dd commit f534f69

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pep-0675.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,8 +537,8 @@ Backwards Compatibility
537537
this doesn't require any changes to the Python runtime itself. :pep:`586`
538538
already backports ``Literal``, so this PEP does not need to change it.
539539

540-
As :pep:`PEP 586 mentions
541-
<586#backwards-compatibility>`,
540+
As PEP 586 `mentions
541+
<https://www.python.org/dev/peps/pep-0586/#backwards-compatibility>`_,
542542
type checkers "should feel free to experiment with more sophisticated
543543
inference techniques". So, if the type checker infers a literal string
544544
type for an unannotated variable that is initialized with a literal

0 commit comments

Comments
 (0)