Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Checkins

cpython (2.7): Minor fixups.

 

 

Python checkins RSS feed   Index | Next | Previous | View Threaded


python-checkins at python

Apr 23, 2012, 12:22 AM

Post #1 of 1 (50 views)
Permalink
cpython (2.7): Minor fixups.

http://hg.python.org/cpython/rev/90aa4daf42d3
changeset: 76479:90aa4daf42d3
branch: 2.7
parent: 76387:d229032dc213
user: Raymond Hettinger <python [at] rcn>
date: Wed Apr 18 00:25:32 2012 -0400
summary:
Minor fixups.

files:
Doc/library/sqlite3.rst | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -15,12 +15,12 @@
application using SQLite and then port the code to a larger database such as
PostgreSQL or Oracle.

-sqlite3 was written by Gerhard Häring and provides a SQL interface compliant
-with the DB-API 2.0 specification described by :pep:`249`.
+The sqlite3 module was written by Gerhard Häring. It provides a SQL interface
+compliant 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('example.db')
@@ -473,7 +473,7 @@

.. method:: Cursor.execute(sql, [parameters])

- Executes an SQL statement. The SQL statement may be parametrized (i. e.
+ Executes an SQL statement. The SQL statement may be parameterized (i. e.
placeholders instead of SQL literals). The :mod:`sqlite3` module supports two
kinds of placeholders: question marks (qmark style) and named placeholders
(named style).

--
Repository URL: http://hg.python.org/cpython

Python checkins RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.