Skip to content

Conversation

@bmispelon
Copy link
Contributor

Hi,

While writing documentation for the Django project (which uses reStructuredText) I noticed a code-block:: pycon and was really confused for a while. I genuinely assumed someone had made a typo because when I read "pycon", the only thing that comes to mind for me is the python conference of the same name. I had to look it up to figure out it was short for "PYthon CONsole".

This PR adds a new alias for the lexer with a name that's a bit more verbose, but also a bit less confusing (imo).

As it's a new alias, I believe this should be fully backwards compatible.

Thanks! ✨

@birkenfeld
Copy link
Member

Thanks!

@bmispelon bmispelon deleted the pycon-new-alias branch April 27, 2024 11:31
@bmispelon bmispelon restored the pycon-new-alias branch April 27, 2024 11:31
@bmispelon bmispelon deleted the pycon-new-alias branch April 27, 2024 11:31
@bmispelon
Copy link
Contributor Author

That was fast, thanks for the quick merge! 🚀

@Anteru Anteru added this to the 2.18.0 milestone Apr 28, 2024
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.

3 participants