Commit 2f76bba5 authored by Stefan Behnel's avatar Stefan Behnel

Fix some ReST errors and missing/duplicate references in docs.

parent b67e5567
...@@ -1272,7 +1272,7 @@ Bugs fixed ...@@ -1272,7 +1272,7 @@ Bugs fixed
* Compile errors and warnings in integer type conversion code. This fixes * Compile errors and warnings in integer type conversion code. This fixes
ticket 877. Patches by Christian Neukirchen, Nikolaus Rath, Ian Henriksen. ticket 877. Patches by Christian Neukirchen, Nikolaus Rath, Ian Henriksen.
* Reference leak when "*args" argument was reassigned in closures. * Reference leak when ``*args`` argument was reassigned in closures.
* Truth-testing Unicode strings could waste time and memory in Py3.3+. * Truth-testing Unicode strings could waste time and memory in Py3.3+.
......
...@@ -105,4 +105,5 @@ Using the Sage notebook ...@@ -105,4 +105,5 @@ Using the Sage notebook
.. [Jupyter] https://jupyter.org/ .. [Jupyter] https://jupyter.org/
.. [Sage] W. Stein et al., Sage Mathematics Software, https://www.sagemath.org/ ..
[Sage] W. Stein et al., Sage Mathematics Software, https://www.sagemath.org/
...@@ -41,7 +41,8 @@ Python modules. ...@@ -41,7 +41,8 @@ Python modules.
.. [ctypes] https://docs.python.org/library/ctypes.html. .. [ctypes] https://docs.python.org/library/ctypes.html.
.. there's also the original ctypes home page: http://python.net/crew/theller/ctypes/ .. there's also the original ctypes home page: http://python.net/crew/theller/ctypes/
.. [Pyrex] G. Ewing, Pyrex: C-Extensions for Python, ..
[Pyrex] G. Ewing, Pyrex: C-Extensions for Python,
https://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ https://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
.. [ShedSkin] M. Dufour, J. Coughlan, ShedSkin, .. [ShedSkin] M. Dufour, J. Coughlan, ShedSkin,
https://github.com/shedskin/shedskin https://github.com/shedskin/shedskin
......
...@@ -850,6 +850,7 @@ use the C-API equivalent of:: ...@@ -850,6 +850,7 @@ use the C-API equivalent of::
instead of the desired C equivalent of ``return f->f0 + f->f1 + f->f2``. We can instead of the desired C equivalent of ``return f->f0 + f->f1 + f->f2``. We can
alias the fields by using:: alias the fields by using::
cdef extern from "foo_nominal.h": cdef extern from "foo_nominal.h":
ctypedef class foo_extension.Foo [object FooStructNominal]: ctypedef class foo_extension.Foo [object FooStructNominal]:
......
...@@ -20,6 +20,9 @@ A memoryview can be used in any context (function parameters, module-level, cdef ...@@ -20,6 +20,9 @@ A memoryview can be used in any context (function parameters, module-level, cdef
class attribute, etc) and can be obtained from nearly any object that class attribute, etc) and can be obtained from nearly any object that
exposes writable buffer through the `PEP 3118`_ buffer interface. exposes writable buffer through the `PEP 3118`_ buffer interface.
.. _`PEP 3118`: https://www.python.org/dev/peps/pep-3118/
.. _view_quickstart: .. _view_quickstart:
Quickstart Quickstart
...@@ -226,6 +229,8 @@ NumPy arrays support this interface, as do :ref:`view_cython_arrays`. The ...@@ -226,6 +229,8 @@ NumPy arrays support this interface, as do :ref:`view_cython_arrays`. The
data array to themselves be pointers; Cython memoryviews do not yet support data array to themselves be pointers; Cython memoryviews do not yet support
this. this.
.. _`new style buffers`: https://docs.python.org/3/c-api/buffer.html
.. _view_memory_layout: .. _view_memory_layout:
Memory layout Memory layout
......
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