Skip to content

Commit e864d17

Browse files
committed
clarified ValueError
1 parent 241279d commit e864d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/cs50/python.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Usage
9191
- for ``INSERT``, the primary key of a newly inserted row (or ``None`` if none)
9292
- for ``SELECT``, a :py:class:`list` of :py:class:`dict` objects, each of which represents a row in the result set
9393
- for ``UPDATE``, the number of rows updated
94-
- on integrity errors, a :py:class:`ValueError` is raised
94+
- on integrity errors (as when a constraint is violated), a :py:class:`ValueError` is raised
9595
- on other errors, a :py:class:`RuntimeError` is raised
9696

9797
Example usage::

0 commit comments

Comments
 (0)