Commit aea3bc07 authored by gabrieldemarmiesse's avatar gabrieldemarmiesse

Fixing some broken links.

parent 084a25f5
...@@ -2180,9 +2180,9 @@ Features added ...@@ -2180,9 +2180,9 @@ Features added
* GDB support. http://docs.cython.org/src/userguide/debugging.html * GDB support. http://docs.cython.org/src/userguide/debugging.html
* A new build system with support for inline distutils directives, correct dependency tracking, and parallel compilation. http://wiki.cython.org/enhancements/distutils_preprocessing * A new build system with support for inline distutils directives, correct dependency tracking, and parallel compilation. https://github.com/cython/cython/wiki/enhancements-distutils_preprocessing
* Support for dynamic compilation at runtime via the new cython.inline function and cython.compile decorator. http://wiki.cython.org/enhancements/inline * Support for dynamic compilation at runtime via the new cython.inline function and cython.compile decorator. https://github.com/cython/cython/wiki/enhancements-inline
* "nogil" blocks are supported when compiling pure Python code by writing "with cython.nogil". * "nogil" blocks are supported when compiling pure Python code by writing "with cython.nogil".
......
...@@ -467,7 +467,7 @@ supports the ``__future__`` import ``unicode_literals`` that instructs ...@@ -467,7 +467,7 @@ supports the ``__future__`` import ``unicode_literals`` that instructs
the parser to read all unprefixed :obj:`str` literals in a source file as the parser to read all unprefixed :obj:`str` literals in a source file as
unicode string literals, just like Python 3. unicode string literals, just like Python 3.
.. _`CEP 108`: http://wiki.cython.org/enhancements/stringliterals .. _`CEP 108`: https://github.com/cython/cython/wiki/enhancements-stringliterals
Single bytes and characters Single bytes and characters
--------------------------- ---------------------------
......
...@@ -587,7 +587,7 @@ header:: ...@@ -587,7 +587,7 @@ header::
If the callback may be called from another non-Python thread, If the callback may be called from another non-Python thread,
care must be taken to initialize the GIL first, through a call to care must be taken to initialize the GIL first, through a call to
`PyEval_InitThreads() <http://docs.python.org/dev/c-api/init.html#PyEval_InitThreads>`_. `PyEval_InitThreads() <https://docs.python.org/dev/c-api/init.html#c.PyEval_InitThreads>`_.
If you're already using :ref:`cython.parallel <parallel>` in your module, this will already have been taken care of. If you're already using :ref:`cython.parallel <parallel>` in your module, this will already have been taken care of.
The GIL may also be acquired through the ``with gil`` statement:: The GIL may also be acquired through the ``with gil`` statement::
......
...@@ -171,8 +171,10 @@ As for NumPy, new axes can be introduced by indexing an array with ``None`` :: ...@@ -171,8 +171,10 @@ As for NumPy, new axes can be introduced by indexing an array with ``None`` ::
# 2D array with shape (50, 1) # 2D array with shape (50, 1)
myslice[:, None] myslice[:, None]
# 3D array with shape (1, 10, 1)
myslice[None, 10:-20:2, None]
One may mix new axis indexing with all other forms of indexing and slicing. One may mix new axis indexing with all other forms of indexing and slicing.
See also an example_.
Read-only views Read-only views
--------------- ---------------
......
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