summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-09-13 08:14:08 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-09-14 14:32:42 +0200
commit9bd6ca9cf547d36d32a16ed79baaf2461fb025d3 (patch)
treed2a5e6a33d03fdc8f2b8c0b38fbdf2c415a96621
parentspec: Fix some attributes (diff)
downloadrtems-central-9bd6ca9cf547d36d32a16ed79baaf2461fb025d3.tar.bz2
specdoc: Fix wording
-rw-r--r--rtemsspec/specdoc.py2
-rw-r--r--rtemsspec/tests/test_specdoc.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/rtemsspec/specdoc.py b/rtemsspec/specdoc.py
index 9d6d4f63..c6d484c9 100644
--- a/rtemsspec/specdoc.py
+++ b/rtemsspec/specdoc.py
@@ -413,7 +413,7 @@ class _Documenter:
_info: Any) -> None:
""" Documents a none value. """
# pylint: disable=no-self-use
- content.paste(f"There {shall} by be no value (null).")
+ content.paste(f"There {shall} be no value (null).")
def _add_description(self, content: SphinxContent) -> None:
refines = [
diff --git a/rtemsspec/tests/test_specdoc.py b/rtemsspec/tests/test_specdoc.py
index df875a29..1416eaf8 100644
--- a/rtemsspec/tests/test_specdoc.py
+++ b/rtemsspec/tests/test_specdoc.py
@@ -130,7 +130,7 @@ A value of this type shall be of one of the following variants:
* The value may be a list. Each list element shall be a :ref:`SpecTypeRoot`.
-* There may by be no value (null).
+* There may be no value (null).
* The value may be a string. The value