summaryrefslogtreecommitdiffstats
path: root/Doc/library/sqlite3.rst
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2013-02-23 18:34:15 (GMT)
committerPetri Lehtinen <petri@digip.org>2013-02-23 18:34:44 (GMT)
commit3c75a48c860e81063c8034e9929ad092b43677ef (patch)
tree8d3346669fa18da2b8db0360e5257d5149da9a93 /Doc/library/sqlite3.rst
parentf484efdb60cf97d04eed4f87f838ad27e1ed241f (diff)
parent9f74c6cf7d0fd6188194e7bba8f059843b9c3c89 (diff)
downloadcpython-3c75a48c860e81063c8034e9929ad092b43677ef.zip
cpython-3c75a48c860e81063c8034e9929ad092b43677ef.tar.gz
cpython-3c75a48c860e81063c8034e9929ad092b43677ef.tar.bz2
Issue #8890: Stop advertising an insecure use of /tmp in docs
Diffstat (limited to 'Doc/library/sqlite3.rst')
-rw-r--r--Doc/library/sqlite3.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index e31ae77..4e9e83e 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -18,10 +18,10 @@ with the DB-API 2.0 specification described by :pep:`249`.
To use the module, you must first create a :class:`Connection` object that
represents the database. Here the data will be stored in the
-:file:`/tmp/example` file::
+:file:`example.db` file::
import sqlite3
- conn = sqlite3.connect('/tmp/example')
+ conn = sqlite3.connect('example.db')
You can also supply the special name ``:memory:`` to create a database in RAM.