From a59fc4485df1191a8efaeae92e780e9f0710484e Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 29 Sep 2022 06:25:18 -0400 Subject: docs: minor tweaks to db docs --- coverage/numbits.py | 4 ++-- doc/dbschema.rst | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/coverage/numbits.py b/coverage/numbits.py index 9c49d55d..297795d9 100644 --- a/coverage/numbits.py +++ b/coverage/numbits.py @@ -142,8 +142,8 @@ def register_sqlite_functions(connection): conn = sqlite3.connect('example.db') register_sqlite_functions(conn) c = conn.cursor() - # Kind of a nonsense query: find all the files and contexts that - # executed line 47 in any file: + # Kind of a nonsense query: + # Find all the files and contexts that executed line 47 in any file: c.execute( "select file_id, context_id from line_bits where num_in_numbits(?, numbits)", (47,) diff --git a/doc/dbschema.rst b/doc/dbschema.rst index c93a0646..34e0a55d 100644 --- a/doc/dbschema.rst +++ b/doc/dbschema.rst @@ -19,8 +19,9 @@ be preferred to accessing the database directly. Only advanced uses will need to use the database. The schema can change without changing the major version of coverage.py, so be -careful when accessing the database directly. The `coverage_schema` table has -the schema number of the database. The schema described here corresponds to: +careful when accessing the database directly. The ``coverage_schema`` table +has the schema number of the database. The schema described here corresponds +to: .. [[[cog from coverage.sqldata import SCHEMA_VERSION -- cgit v1.2.1