GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix and improve doctest's documentation · Issue #134918 · python/cpython

Fix and improve doctest's documentation #134918

New issue
Copy link
New issue
Copy link
Closed
Closed
Fix and improve doctest's documentation#134918
Copy link
Assignees
serhiy-storchaka
Labels
3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dir

Description

@serhiy-storchaka
serhiy-storchaka
opened on May 30, 2025
Issue body actions

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

  • gh-134918: Fix and improve doctest's documentation #134919
  • [3.14] gh-134918: Fix and improve doctest's documentation (GH-134919) #134966
  • [3.13] gh-134918: Fix and improve doctest's documentation (GH-134919) #134967

Activity

  1. serhiy-storchaka
    self-assigned this
    on May 30, 2025
  2. serhiy-storchaka
    added
    docsDocumentation in the Doc dirDocumentation in the Doc dir
    3.13only security fixesonly security fixes
    3.14bugs and security fixesbugs and security fixes
    3.15bugs and security fixesbugs and security fixes
    on May 30, 2025
  3. github-project-automation
    added this to docs issueson May 30, 2025
  4. github-project-automation
    moved this to Todo in docs issueson May 30, 2025
  5. serhiy-storchaka
    added a parent issue on May 30, 2025
    • Better integration of doctest with unittest and libregrtest #108885
  6. serhiy-storchaka
    added 3 commits that reference this issue on May 30, 2025

    pythongh-134918: Fix and improve doctest's documentation

    bdcf54a

    pythongh-134918: Fix and improve doctest's documentation

    1c9791a

    gh-134918: Fix and improve doctest's documentation (GH-134919)

    3c66e59
  7. miss-islington
    added 2 commits that reference this issue on May 31, 2025

    pythongh-134918: Fix and improve doctest's documentation (pythonGH-13…

    ea47c9c

    pythongh-134918: Fix and improve doctest's documentation (pythonGH-13…

    d9c4ec0
  8. serhiy-storchaka
    closed this as completedon May 31, 2025
  9. serhiy-storchaka
    added 2 commits that reference this issue on May 31, 2025

    [3.14] gh-134918: Fix and improve doctest's documentation (GH-134919) (…

    aceb504

    [3.13] gh-134918: Fix and improve doctest's documentation (GH-134919) (…

    366a790
  10. Pranjal095
    added a commit that references this issue on Jul 12, 2025

    pythongh-134918: Fix and improve doctest's documentation (pythonGH-13…

    5857459
  11. taegyunkim
    added a commit that references this issue on Aug 4, 2025

    pythongh-134918: Fix and improve doctest's documentation (pythonGH-13…

    76235de
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @serhiy-storchaka
    serhiy-storchaka

Labels

3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dir

Projects

  • docs issues
    Status
    Todo
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.