Skip to contentSkip to conversation

jobserver: Fix typo in docstring

PATCH Applied Ricardo Ungerer 2 participants 2 messages Mar 16 – Mar 17

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 jobserver: Fix typo in docstring

This commit fixes small typos in the docstring of jobserver.py.

---
Changes in v2:
- Fix a Sphynx regression created by v1 when removed the second colon.

---
 tools/lib/python/jobserver.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/lib/python/jobserver.py +2 -2
index aba22c33393d..0b1ffdf9f7a3 100755
@@ -8,14 +8,14 @@
 """
 Interacts with the POSIX jobserver during the Kernel build time.
 
-A "normal" jobserver task, like the one initiated by a make subrocess would do:
+A "normal" jobserver task, like the one initiated by a make subprocess would do:
 
     - open read/write file descriptors to communicate with the job server;
     - ask for one slot by calling::
 
         claim = os.read(reader, 1)
 
-    - when the job finshes, call::
+    - when the job finishes, call::
 
         os.write(writer, b"+")  # os.write(writer, claim)
 
Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw
Quoted 1 line · Ricardo Ungerer

This commit fixes small typos in the docstring of jobserver.py.

For future reference, our guidance says to avoid "this commit", and some maintainers are pretty firm about that.

Quoted 17 lines

---
Changes in v2:
- Fix a Sphynx regression created by v1 when removed the second colon.

---
 tools/lib/python/jobserver.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/lib/python/jobserver.py +0 -1
index aba22c33393d..0b1ffdf9f7a3 100755
@@ -8,14 +8,14 @@
 """
 Interacts with the POSIX jobserver during the Kernel build time.
 
-A "normal" jobserver task, like the one initiated by a make subrocess would do:

tools/lib/python/jobserver.py line 19

Quoted 10 lines
tools/lib/python/jobserver.py +2 -1
+A "normal" jobserver task, like the one initiated by a make subprocess would do:
 
     - open read/write file descriptors to communicate with the job server;
     - ask for one slot by calling::
 
         claim = os.read(reader, 1)
 
-    - when the job finshes, call::
+    - when the job finishes, call::
 

Applied, thanks.

jon