devdocs icon indicating copy to clipboard operation
devdocs copied to clipboard

incorrect anchor in python3.9

Open trysten opened this issue 1 year ago • 1 comments

Documentation style bug

Summary

bad anchor in glossary

Actual style

python (3.9) glossary entry f-string has a link to formatted string literals with anchor #f-strings which doesn't scroll to any section because it's not present.

Expected style

anchor index-24 is needed to go to the correct section: https://devdocs.io/python~3.9/reference/lexical_analysis#index-24

trysten avatar Dec 01 '23 01:12 trysten

Fixed for 3.11 and 3.12 thanks to #2082.

https://devdocs.io/python~3.12/reference/lexical_analysis#f-strings

simon04 avatar Jan 06 '24 17:01 simon04