Skip to content

Conversation

m-aciek
Copy link
Contributor

@m-aciek m-aciek commented Sep 8, 2024

Refs #123407. Doctest blocks are the second type of blocks present in Python documentation, that need a separate configuration value. Example:

>>> 'spam eggs' # single quotes
'spam eggs'
>>> "Paris rabbit got your back :)! Yay!" # double quotes
'Paris rabbit got your back :)! Yay!'
>>> '1975' # digits and numerals enclosed in quotes are also strings
'1975'

Disclaimer: changing the Sphinx config doesn't seem to make expected difference.


📚 Documentation preview 📚: https://cpython-previews--123852.org.readthedocs.build/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants