Issue 3157: sqlite3 minor documentation issues (original) (raw)
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 :)