Skip to content

Error in example of tempfile module #111282

Description

@kkarbowiak

Documentation

The third example in Examples section of tempfile module shows creating TemporaryFile with delete_on_close parameter, however the parameter is present only in NamedTemporaryFile class. Also, a colon is missing several lines below.

The Examples in 3.12 version is the same, so both 3.13 and 3.12 versions are affected.

Linked PRs

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixes3.13bugs and security fixesdocsDocumentation in the Doc dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions