Commit f85e7975 authored by gabrieldemarmiesse's avatar gabrieldemarmiesse

Added warning.

parent eb18ac4c
...@@ -191,6 +191,12 @@ Reference counting for these objects is performed automatically according to ...@@ -191,6 +191,12 @@ Reference counting for these objects is performed automatically according to
the standard Python/C API rules (i.e. borrowed references are taken as the standard Python/C API rules (i.e. borrowed references are taken as
parameters and a new reference is returned). parameters and a new reference is returned).
.. warning::
This only applies to Cython code. Other Python packages which
are implemented in C like NumPy may not follow these conventions.
The name object can also be used to explicitly declare something as a Python The name object can also be used to explicitly declare something as a Python
object. This can be useful if the name being declared would otherwise be taken object. This can be useful if the name being declared would otherwise be taken
as the name of a type, for example,:: as the name of a type, for example,::
......
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