Skip to content

Conversation

@MahadMuhammad
Copy link
Contributor

@MahadMuhammad MahadMuhammad commented Dec 17, 2023

Fixed token.c hyperlink in compiler design


📚 Documentation preview 📚: https://cpython-devguide--1250.org.readthedocs.build/

@ghost
Copy link

ghost commented Dec 17, 2023

All commit authors signed the Contributor License Agreement.
CLA signed

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! It's not quite correct currently, however. The tokenizer was refactored into two new directories, Parser/lexer/ and Parser/tokenizer/, in python/cpython#110684. The link here should point to one or both of those directories rather than token.c.

@AlexWaygood AlexWaygood dismissed their stale review December 17, 2023 17:36

requested changes were made

@AlexWaygood
Copy link
Member

@lysnikolaou, does this look okay to you? Should we be linking to both directories in these places, or just one of the two?

Copy link
Member

@lysnikolaou lysnikolaou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would just change this one occurrence to point to the lexer, which contains the pure tokenization code. The following sentence makes more sense this way.

Thanks for the ping @AlexWaygood!

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@AlexWaygood AlexWaygood changed the title Fixed token.c hyperlink in compiler design Fix dead link to the tokenizer's source code Dec 19, 2023
@AlexWaygood AlexWaygood changed the title Fix dead link to the tokenizer's source code Fix dead links to the tokenizer's source code Dec 19, 2023
@AlexWaygood AlexWaygood merged commit 78fc0d7 into python:main Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants