Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a59fc44

Browse files
committedSep 29, 2022
docs: minor tweaks to db docs
1 parent d296083 commit a59fc44

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed
 

‎coverage/numbits.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ def register_sqlite_functions(connection):
142142
conn = sqlite3.connect('example.db')
143143
register_sqlite_functions(conn)
144144
c = conn.cursor()
145-
# Kind of a nonsense query: find all the files and contexts that
146-
# executed line 47 in any file:
145+
# Kind of a nonsense query:
146+
# Find all the files and contexts that executed line 47 in any file:
147147
c.execute(
148148
"select file_id, context_id from line_bits where num_in_numbits(?, numbits)",
149149
(47,)

‎doc/dbschema.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ be preferred to accessing the database directly. Only advanced uses will need
1919
to use the database.
2020

2121
The schema can change without changing the major version of coverage.py, so be
22-
careful when accessing the database directly. The `coverage_schema` table has
23-
the schema number of the database. The schema described here corresponds to:
22+
careful when accessing the database directly. The ``coverage_schema`` table
23+
has the schema number of the database. The schema described here corresponds
24+
to:
2425

2526
.. [[[cog
2627
from coverage.sqldata import SCHEMA_VERSION

0 commit comments

Comments
 (0)
Please sign in to comment.