Skip to content

Fix and improve doctest's documentation #134918

Closed

Description

@serhiy-storchaka

When working on #108885 I found several issues in the doctest documentation.

  • doctets.failureException does not exist. The referred exception is unittest.TestCase.failureException.
  • Several copy-paste and markup errors.
  • Example for float formatting is outdated since Python 3.0. repr() and str() for floats now have the same precision and do not depend on the platform C library.

Linked PRs

Activity

  1. added
    docs
    3.13
    3.14
    3.15
    on May 30, 2025
  2. added 3 commits that reference this issue on May 30, 2025
  3. added 2 commits that reference this issue on May 31, 2025
  4. added 2 commits that reference this issue on May 31, 2025
  5. added a commit that references this issue on Jul 12, 2025
  6. added a commit that references this issue on Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

3.133.143.15docs

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions