From b166d0d15f616f4a025ac5905a115399cc932ddc Mon Sep 17 00:00:00 2001 From: Rafael Fourquet Date: Sat, 21 Nov 2020 19:34:26 +0100 Subject: [PATCH] fix docstring for workers() and procs() (#38467) --- stdlib/Distributed/src/cluster.jl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/stdlib/Distributed/src/cluster.jl b/stdlib/Distributed/src/cluster.jl index 0522ea060492e..c0c7b08249e18 100644 --- a/stdlib/Distributed/src/cluster.jl +++ b/stdlib/Distributed/src/cluster.jl @@ -869,13 +869,13 @@ Get the number of available worker processes. This is one less than [`nprocs()`] # Examples ```julia-repl -\$ julia -p 5 +\$ julia -p 2 julia> nprocs() -6 +3 julia> nworkers() -5 +2 ``` """ function nworkers() @@ -890,7 +890,7 @@ Return a list of all process identifiers, including pid 1 (which is not included # Examples ```julia-repl -\$ julia -p 5 +\$ julia -p 2 julia> procs() 3-element Array{Int64,1}: @@ -952,7 +952,7 @@ Return a list of all worker process identifiers. # Examples ```julia-repl -\$ julia -p 5 +\$ julia -p 2 julia> workers() 2-element Array{Int64,1}: