Title: sqlite3 minor documentation issues
Type: Stage:
Components: Documentation Versions: Python 2.5
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, slewis
Priority: normal Keywords:

Created on 2008-06-21 02:27 by slewis, last changed 2008-06-22 18:32 by georg.brandl. This issue is now closed.

Messages (2)
msg68488 - (view) Author: Stephen Lewis (slewis) Date: 2008-06-21 02:27
The documentation for several methods in the sqlite3 library seems to be
at odds with the function names:

sqlite3.Cursor.fetchone --> "Fetches several rows from the resultset."
sqlite3.Cursor.fetchmany --> "Fetches all rows from the resultset."
sqlite3.Cursor.fetchall --> "Fetches one row from the resultset."

This is apparent on Ubuntu's packaged version 2.5.2-2ubuntu4, and a
quick glance at the online SVN repository implies that its present in
the trunk.

Also, it might be helpful the documentation for sqlite3.connect were to
mention that it takes a file name as a parameter :)
msg68571 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-06-22 18:32
I fixed the docstring in r64463 (2.5 branch, already fixed in trunk) and
expanded the connect() docstring in r64464.
Date User Action Args
2008-06-22 18:32:29georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg68571
2008-06-21 02:27:56slewiscreate