Mercurial > cpython-lru_cache-weakref
annotate Doc/includes/sqlite3/shared_cache.py @ 68401:45d76bb9fbcd 3.2
merge 3.1
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sat, 12 Mar 2011 11:58:40 -0600 |
| parents | 9e1529bf0442 |
| children | bf94b6a73fc8 |
| rev | line source |
|---|---|
|
42604
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
1 import sqlite3 |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
2 |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
3 # The shared cache is only available in SQLite versions 3.3.3 or later |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
4 # See the SQLite documentaton for details. |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
5 |
|
9e1529bf0442
Move the 3k reST doc tree in place.
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
6 sqlite3.enable_shared_cache(True) |
