Commit 4bed5bd5 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

add __all__

parent b6e481fa
Pipeline #21438 passed with stage
in 4 minutes and 21 seconds
......@@ -2,6 +2,13 @@ import numpy as np
from .random import Random
from mpi4py import MPI
__all__ = ["ntask", "rank", "master", "local_shape", "data_object", "full",
"empty", "zeros", "ones", "empty_like", "vdot", "abs", "exp",
"log", "sqrt", "bincount", "from_object", "from_random",
"local_data", "ibegin", "np_allreduce_sum", "distaxis",
"from_local_data", "from_global_data", "to_global_data",
"redistribute", "default_distaxis"]
_comm = MPI.COMM_WORLD
ntask = _comm.Get_size()
rank = _comm.Get_rank()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment