diff --git a/docs/python-api.rst b/docs/python-api.rst index 7b11c22..c6bf776 100644 --- a/docs/python-api.rst +++ b/docs/python-api.rst @@ -2711,7 +2711,7 @@ By default, the name of the Python function will be used as the name of the SQL print(db.execute('select rev("hello")').fetchone()[0]) -Python 3.8 added the ability to register `deterministic SQLite functions `__, allowing you to indicate that a function will return the exact same result for any given inputs and hence allowing SQLite to apply some performance optimizations. You can mark a function as deterministic using ``deterministic=True``, like this: +If a function will return the exact same result for any given inputs you can register it as a `deterministic SQLite function `__ allowing SQLite to apply some performance optimizations: .. code-block:: python @@ -2719,8 +2719,6 @@ Python 3.8 added the ability to register `deterministic SQLite functions