diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-07-01 11:44:49 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-07-01 23:40:55 -0600 |
commit | 6646bdfeac189c50b19b032ea8b6795ea7fd2074 (patch) | |
tree | 5ae42a27c3852f62c561e5c2ccb02e40349faedb /doc/source/reference/arrays.scalars.rst | |
parent | 61d2a445881f80b52bc9facdbd4f58f6e74c637b (diff) | |
download | numpy-6646bdfeac189c50b19b032ea8b6795ea7fd2074.tar.gz |
DOC: Fix outdated sphinx directives.
Examples
:cdata: -> :c:data:
.. cfunction:: -> .. c:function::
Diffstat (limited to 'doc/source/reference/arrays.scalars.rst')
-rw-r--r-- | doc/source/reference/arrays.scalars.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/reference/arrays.scalars.rst b/doc/source/reference/arrays.scalars.rst index 652fa62e1..f8fad0095 100644 --- a/doc/source/reference/arrays.scalars.rst +++ b/doc/source/reference/arrays.scalars.rst @@ -65,15 +65,15 @@ Some of the scalar types are essentially equivalent to fundamental Python types and therefore inherit from them as well as from the generic array scalar type: -==================== ==================== +==================== ================================ Array scalar type Related Python type -==================== ==================== +==================== ================================ :class:`int_` :class:`IntType` (Python 2 only) :class:`float_` :class:`FloatType` :class:`complex_` :class:`ComplexType` :class:`str_` :class:`StringType` :class:`unicode_` :class:`UnicodeType` -==================== ==================== +==================== ================================ The :class:`bool_` data type is very similar to the Python :class:`BooleanType` but does not inherit from it because Python's @@ -215,7 +215,7 @@ Attributes ========== The array scalar objects have an :obj:`array priority -<__array_priority__>` of :cdata:`NPY_SCALAR_PRIORITY` +<__array_priority__>` of :c:data:`NPY_SCALAR_PRIORITY` (-1,000,000.0). They also do not (yet) have a :attr:`ctypes <ndarray.ctypes>` attribute. Otherwise, they share the same attributes as arrays: |