diff --git a/README.md b/README.md index bea9ecb..6bb8d57 100644 --- a/README.md +++ b/README.md @@ -1788,9 +1788,9 @@ db.close() ### Read ```python - = db.execute('') # Raises sqlite3.OperationalError. - = .fetchone() # First row. Also next(). - = .fetchall() # Remaining rows. + = db.execute('') # Can raise sqlite3.OperationalError. + = .fetchone() # Returns next row. Also next(). + = .fetchall() # Returns remaining rows. ``` * **Returned values can be of type str, int, float, bytes or None.** diff --git a/index.html b/index.html index 27503d1..7c1cfaa 100644 --- a/index.html +++ b/index.html @@ -1596,9 +1596,9 @@ db.close()
  • New database will be created if path doesn't exist.
-

Read

<cursor> = db.execute('<query>')                # Raises sqlite3.OperationalError.
-<tuple>  = <cursor>.fetchone()                  # First row. Also next(<cursor>).
-<list>   = <cursor>.fetchall()                  # Remaining rows.
+

Read

<cursor> = db.execute('<query>')                # Can raise sqlite3.OperationalError.
+<tuple>  = <cursor>.fetchone()                  # Returns next row. Also next(<cursor>).
+<list>   = <cursor>.fetchall()                  # Returns remaining rows.