Skip to content

Conversation

@GriceTurrble
Copy link

@GriceTurrbleGriceTurrble commented Oct 6, 2023

The presence of a double colon is causing .. doctest:: to display in Tutorial 15, Floating Point Arithmetic: Issues and Limitations doc: https://docs.python.org/3/tutorial/floatingpoint.html

image

Removing the colon should allow it to parse the directive properly.


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

The presence of a double colon is causing `.. doctest::` to outut into the docs themselves. Removing the colon should allow it to parse properly.
@ghost
Copy link

ghost commented Oct 6, 2023

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-appbedevere-appbot added docs Documentation in the Doc dir skip news awaiting review labels Oct 6, 2023
@GriceTurrble
Copy link
Author

I see in the preview docs that the directive is no longer displayed 👍
image

@GriceTurrbleGriceTurrble changed the title fix: double colon at end of paragraph causes doctest directive to display on websitefix(docs): double colon at end of paragraph causes doctest directive to display on websiteOct 6, 2023
Copy link
Member

@Eclips4Eclips4 left a comment

Choose a reason for hiding this comment

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

Thanks!

@Eclips4Eclips4 changed the title fix(docs): double colon at end of paragraph causes doctest directive to display on websiteDocs: double colon at end of paragraph causes doctest directive to display on websiteOct 7, 2023
@Eclips4
Copy link
Member

Resolved by #110509.
Thanks for your time!

@Eclips4Eclips4 closed this Oct 8, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@GriceTurrble@Eclips4