Skip to content

Commit 33b9fde

Browse files
blurb-it[bot]mbyrnepr2
authored andcommitted
📜🤖 Added by blurb_it.
1 parent 90cc53b commit 33b9fde

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
:mod:`tempfile` functions that take a ``prefix`` or ``suffix`` argument now raise a :exc:`ValueError` if they contain a directory component:
2+
:func:`tempfile.mkstemp`, :func:`tempfile.mkdtemp`, :func:`tempfile.TemporaryFile`, :func:`tempfile.NamedTemporaryFile`.

0 commit comments

Comments
 (0)