jobserver: Fix typo in docstring
Subsystems (2)
PATCH v2 1/1 jobserver: Fix typo in docstring
This commit fixes small typos in the docstring of jobserver.py.
Signed-off-by Ricardo Ungerer <[email protected]>
---
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
@@ -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
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
Signed-off-by Ricardo Ungerer <[email protected]>---
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@@ -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