1616(:py:data:`VERSION_TAG`, :py:data:`PLATFORM_TAG` or :py:data:`IMPLEMENTATION_TAG`).
1717The tags can be joined with the keywords ``AND``, ``OR`` and ``NOT``, with the exclamation mark ``!`` implying ``NOT``.
1818Parentheses can be used to group sub expressions.
19- A series of tags without keywords in between them are evaluated with ``AND``.
19+ A series of tags without keywords between them are evaluated with ``AND``.
2020
2121.. py:data:: VERSION_TAG
2222
2323A ``VERSION_TAG`` comprises an optional comparator (one of ``<=``, ``<``, ``>=``, ``>``),
2424a version specifier in the form ``pyXX``, and an optional ``+`` to indicate ``>=``.
2525
26- **Examples:**
26+
27+ :bold-title:`Example:`
2728
2829.. parsed-literal::
2930
3940A ``PLATFORM_TAG`` comprises a single word which will be compared (ignoring case)
4041with the output of :func:`platform.system`.
4142
42- **Examples:**
43+
44+ :bold-title:`Example:`
4345
4446.. parsed-literal::
4547
5961An ``IMPLEMENTATION_TAG`` comprises a single word which will be compared (ignoring case)
6062with the output of :func:`platform.python_implementation`.
6163
62- **Examples:**
64+
65+ :bold-title:`Example:`
6366
6467.. parsed-literal::
6568
6871 IronPython
6972 Jython
7073
74+
7175Examples
7276-----------
7377
102106API Reference
103107----------------
104108
109+ .. automodulesumm:: coverage_pyver_pragma.grammar
105110""" # noqa: D400
106111#
107112# Copyright © 2021 Dominic Davis-Foster <dominic@davis-foster.co.uk>
@@ -185,7 +190,7 @@ class VersionTag(packaging.specifiers.SpecifierSet):
185190 A ``VERSION_TAG`` comprises an optional comparator (one of ``<=``, ``<``, ``>=``, ``>``),
186191 a version specifier in the form ``pyXX``, and an optional ``+`` to indicate ``>=``.
187192
188- ** Examples:**
193+ :bold-title:` Examples:`
189194
190195 .. parsed-literal::
191196
@@ -231,7 +236,7 @@ class PlatformTag(str):
231236 A ``PLATFORM_TAG`` comprises a single word which will be compared (ignoring case)
232237 with the output of :func:`platform.system`.
233238
234- ** Examples:**
239+ :bold-title:` Examples:`
235240
236241 .. parsed-literal::
237242
@@ -268,7 +273,7 @@ class ImplementationTag(str):
268273 An ``IMPLEMENTATION_TAG`` comprises a single word which will be compared (ignoring case)
269274 with the output of :func:`platform.python_implementation`.
270275
271- ** Examples:**
276+ :bold-title:` Examples:`
272277
273278 .. parsed-literal::
274279
@@ -278,6 +283,8 @@ class ImplementationTag(str):
278283 Jython
279284
280285 :param tokens:
286+
287+ .. latex:vspace:: -10px
281288 """
282289
283290 __slots__ = ()
@@ -409,7 +416,7 @@ def __bool__(self):
409416 )
410417 )
411418"""
412- The `` coverage_pyver_pragma` ` expression grammar.
419+ The :mod:` coverage_pyver_pragma` expression grammar.
413420
414421This can be used to parse an expression outside of the coverage context.
415422"""
0 commit comments