We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 241279d commit e864d17Copy full SHA for e864d17
libraries/cs50/python.rst
@@ -91,7 +91,7 @@ Usage
91
- for ``INSERT``, the primary key of a newly inserted row (or ``None`` if none)
92
- for ``SELECT``, a :py:class:`list` of :py:class:`dict` objects, each of which represents a row in the result set
93
- for ``UPDATE``, the number of rows updated
94
- - on integrity errors, a :py:class:`ValueError` is raised
+ - on integrity errors (as when a constraint is violated), a :py:class:`ValueError` is raised
95
- on other errors, a :py:class:`RuntimeError` is raised
96
97
Example usage::
0 commit comments