mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #8890: Stop advertising an insecure use of /tmp in docs
This commit is contained in:
parent
8b945148e3
commit
9f74c6cf7d
14 changed files with 31 additions and 26 deletions
|
@ -79,7 +79,7 @@ program to users of your script, you can have the reports saved to files
|
|||
instead, with code like this::
|
||||
|
||||
import cgitb
|
||||
cgitb.enable(display=0, logdir="/tmp")
|
||||
cgitb.enable(display=0, logdir="/path/to/logdir")
|
||||
|
||||
It's very helpful to use this feature during script development. The reports
|
||||
produced by :mod:`cgitb` provide information that can save you a lot of time in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue