diff --git a/README.md b/README.md index 1caa3e1..ce20c55 100644 --- a/README.md +++ b/README.md @@ -1764,7 +1764,7 @@ db.close() ```python cursor = db.execute('') if cursor: - = cursor.fetchone() # First row. + = cursor.fetchone() # First row. Also next(cursor). = cursor.fetchall() # Remaining rows. ``` * **Returned values can be of type str, int, float, bytes or None.** diff --git a/index.html b/index.html index e0abd67..ddb43f5 100644 --- a/index.html +++ b/index.html @@ -1569,7 +1569,7 @@ db.close()

Read

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