[docs] [issue13491] Fixes for sqlite3 doc
report at bugs.python.org
Mon Dec 5 17:17:41 CET 2011
Éric Araujo <merwok at netwok.org> added the comment:
> Unfortunately, no word about the createdb.py business (the last bullet point on the list)
> and whether it should be referred to in the doc.
If you make the whitespace more standard, use the tempfile module (to remove the os.remove line) and use with statements, the file is actually very short (so my earlier hypothesis about createdb was wrong :).
I think we could inline it (with a literalinclude directive) or link to it (with :source:`Doc/include/sqlite3/createdb.py`). Add something like “If you want to run these examples, run this code to create and populate the initial database” and we’re set.
Python tracker <report at bugs.python.org>
More information about the docs