You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Hello, I'm an undergraduate computer science student and I'm eager to make a first contribution to GitHub. Would you be willing to offer some guidance to help me through this issue? Thanks!
Hello, I'm an undergraduate computer science student and I'm eager to make a first contribution to GitHub. Would you be willing to offer some guidance to help me through this issue? Thanks!
Hello @DavidCoy77. It's cool you are eager to contribute, however there is already a PR with fix for this issue.
Activity
DavidCoy77 commentedon Oct 25, 2023
Hello, I'm an undergraduate computer science student and I'm eager to make a first contribution to GitHub. Would you be willing to offer some guidance to help me through this issue? Thanks!
kkarbowiak commentedon Oct 25, 2023
Hello @DavidCoy77. It's cool you are eager to contribute, however there is already a PR with fix for this issue.
DavidCoy77 commentedon Oct 25, 2023
Oops! Sorry, that's my fault for not noticing.
gh-111282: Fix NamedTemporaryFile example code (GH-111283)
pythongh-111282: Fix NamedTemporaryFile example code (pythonGH-111283)
[3.12] gh-111282: Fix NamedTemporaryFile example code (GH-111283) (GH…
zware commentedon Oct 31, 2023
Thanks for the report and patch, @kkarbowiak!
pythongh-111282: Fix NamedTemporaryFile example code (pythonGH-111283)
pythongh-111282: Fix NamedTemporaryFile example code (pythonGH-111283)
pythongh-111282: Fix NamedTemporaryFile example code (pythonGH-111283)