diff options
| author | Petri Lehtinen <petri@digip.org> | 2013-02-23 19:26:56 +0100 |
|---|---|---|
| committer | Petri Lehtinen <petri@digip.org> | 2013-02-23 19:27:49 +0100 |
| commit | 9f74c6cf7d0fd6188194e7bba8f059843b9c3c89 (patch) | |
| tree | 428d7473b21eb3eb0d728eab38c90490e455ec8b /Doc/library/sqlite3.rst | |
| parent | 8b945148e3f98b9c6c51bfaa830e779979713b82 (diff) | |
| download | cpython-git-9f74c6cf7d0fd6188194e7bba8f059843b9c3c89.tar.gz | |
Issue #8890: Stop advertising an insecure use of /tmp in docs
Diffstat (limited to 'Doc/library/sqlite3.rst')
| -rw-r--r-- | Doc/library/sqlite3.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index 28edfcff21..0d7baef165 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. |
