[rtems-central commit] specdoc: Fix wording

Sebastian Huber sebh at rtems.org
Wed Sep 15 06:02:35 UTC 2021


Module:    rtems-central
Branch:    master
Commit:    9bd6ca9cf547d36d32a16ed79baaf2461fb025d3
Changeset: http://git.rtems.org/rtems-central/commit/?id=9bd6ca9cf547d36d32a16ed79baaf2461fb025d3

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Sep 13 08:14:08 2021 +0200

specdoc: Fix wording

---

 rtemsspec/specdoc.py            | 2 +-
 rtemsspec/tests/test_specdoc.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtemsspec/specdoc.py b/rtemsspec/specdoc.py
index 9d6d4f6..c6d484c 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 df875a2..1416eaf 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
 



More information about the vc mailing list