Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Update floatingpoint.rst #110509

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update floatingpoint.rst
This commit removes a ':'. I believe the extra colon causes a display error.

What I believe to be an error:
Above this expression
`round(math.pi, ndigits=2) == round(22 / 7, ndigits=2)`
the page displays `.. doctest::`.

What I observed:
After I remove the extra colon, the page does not display `.. doctest::`
  • Loading branch information
zipperer authored Oct 7, 2023
commit b1154df8bed458367be3ff5fe7bae4b60ed7f9ea
2 changes: 1 addition & 1 deletion 2 Doc/tutorial/floatingpoint.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ the :func:`math.isclose` function can be useful for comparing inexact values:
True

Alternatively, the :func:`round` function can be used to compare rough
approximations::
approximations:

.. doctest::

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.