From 092f17fdc6c69269f07e841ab28582b5aa5ad077 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 3 Feb 2022 14:26:39 -0800 Subject: [PATCH] Removed two rogue spaces that snuck in --- docs/python-api.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/python-api.rst b/docs/python-api.rst index f2ea954..da75a65 100644 --- a/docs/python-api.rst +++ b/docs/python-api.rst @@ -291,7 +291,7 @@ This method also accepts ``offset=`` and ``limit=`` arguments, for specifying an Counting rows ------------- -To count the number of rows that would be returned by a where filter, use ``.count_where(where, where_args)`` : +To count the number of rows that would be returned by a where filter, use ``.count_where(where, where_args)``: >>> db["dogs"].count_where("age > ?", [1]) 2 @@ -1246,7 +1246,7 @@ To change the primary key for a table, use ``pk=``. This can be passed a single Changing not null status ------------------------ -You can change the ``NOT NULL`` status of columns by using ``not_null=``. You can pass this a set of columns to make those columns ``NOT NULL`` : +You can change the ``NOT NULL`` status of columns by using ``not_null=``. You can pass this a set of columns to make those columns ``NOT NULL``: .. code-block:: python