diff options
author | mattip <matti.picus@gmail.com> | 2019-11-20 10:57:16 -0800 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-11-20 10:57:16 -0800 |
commit | f3fde3c4d0acba41122a6d87c0315064579fad6a (patch) | |
tree | 112a917c1f47fa9b9df90117984c196b5afc6c81 | |
parent | 521ea22552297345680c426c0204b17b644e6bd0 (diff) | |
download | numpy-f3fde3c4d0acba41122a6d87c0315064579fad6a.tar.gz |
DOC, MAINT: fix documentation, remove __init__.py
7 files changed, 8 insertions, 8 deletions
diff --git a/doc/source/reference/random/examples/cython/extending.pyx.rst b/doc/source/reference/random/examples/cython/extending.pyx.rst index bc31488d7..e2bba5aa4 100644 --- a/doc/source/reference/random/examples/cython/extending.pyx.rst +++ b/doc/source/reference/random/examples/cython/extending.pyx.rst @@ -1,5 +1,5 @@ extending.pyx ------------- -.. literalinclude:: ../../../../../../numpy/random/examples/cython/extending.pyx +.. literalinclude:: ../../../../../../numpy/random/_examples/cython/extending.pyx :language: cython diff --git a/doc/source/reference/random/examples/cython/extending_distributions.pyx.rst b/doc/source/reference/random/examples/cython/extending_distributions.pyx.rst index a1bb01f45..f64921c67 100644 --- a/doc/source/reference/random/examples/cython/extending_distributions.pyx.rst +++ b/doc/source/reference/random/examples/cython/extending_distributions.pyx.rst @@ -1,5 +1,5 @@ extending_distributions.pyx --------------------------- -.. literalinclude:: ../../../../../../numpy/random/examples/cython/extending_distributions.pyx +.. literalinclude:: ../../../../../../numpy/random/_examples/cython/extending_distributions.pyx :language: cython diff --git a/doc/source/reference/random/examples/cython/setup.py.rst b/doc/source/reference/random/examples/cython/setup.py.rst index 381b45fd4..bc7a74c59 100644 --- a/doc/source/reference/random/examples/cython/setup.py.rst +++ b/doc/source/reference/random/examples/cython/setup.py.rst @@ -1,5 +1,5 @@ setup.py -------- -.. literalinclude:: ../../../../../../numpy/random/examples/cython/setup.py +.. literalinclude:: ../../../../../../numpy/random/_examples/cython/setup.py :language: python diff --git a/doc/source/reference/random/examples/numba.rst b/doc/source/reference/random/examples/numba.rst index a780afde7..b41a02568 100644 --- a/doc/source/reference/random/examples/numba.rst +++ b/doc/source/reference/random/examples/numba.rst @@ -1,5 +1,5 @@ Extending via Numba ------------------- -.. literalinclude:: ../../../../../numpy/random/examples/numba/extending.py +.. literalinclude:: ../../../../../numpy/random/_examples/numba/extending.py :language: python diff --git a/doc/source/reference/random/examples/numba_cffi.rst b/doc/source/reference/random/examples/numba_cffi.rst index ad4767a7a..fb2f85cce 100644 --- a/doc/source/reference/random/examples/numba_cffi.rst +++ b/doc/source/reference/random/examples/numba_cffi.rst @@ -1,5 +1,5 @@ Extending via Numba and CFFI ---------------------------- -.. literalinclude:: ../../../../../numpy/random/examples/numba/extending_distributions.py +.. literalinclude:: ../../../../../numpy/random/_examples/numba/extending_distributions.py :language: python diff --git a/doc/source/reference/random/extending.rst b/doc/source/reference/random/extending.rst index c63fb1a1b..7b1168c45 100644 --- a/doc/source/reference/random/extending.rst +++ b/doc/source/reference/random/extending.rst @@ -16,7 +16,7 @@ This example shows how numba can be used to produce gaussian samples using a pure Python implementation which is then compiled. The random numbers are provided by ``ctypes.next_double``. -.. literalinclude:: ../../../../numpy/random/examples/numba/extending.py +.. literalinclude:: ../../../../numpy/random/_examples/numba/extending.py :language: python :end-before: example 2 @@ -35,14 +35,14 @@ This example uses `PCG64` and the example from above. The usual caveats for writing high-performance code using Cython -- removing bounds checks and wrap around, providing array alignment information -- still apply. -.. literalinclude:: ../../../../numpy/random/examples/cython/extending_distributions.pyx +.. literalinclude:: ../../../../numpy/random/_examples/cython/extending_distributions.pyx :language: cython :end-before: example 2 The BitGenerator can also be directly accessed using the members of the basic RNG structure. -.. literalinclude:: ../../../../numpy/random/examples/cython/extending_distributions.pyx +.. literalinclude:: ../../../../numpy/random/_examples/cython/extending_distributions.pyx :language: cython :start-after: example 2 diff --git a/numpy/random/_examples/__init__.py b/numpy/random/_examples/__init__.py deleted file mode 100644 index e69de29bb..000000000 --- a/numpy/random/_examples/__init__.py +++ /dev/null |