summaryrefslogtreecommitdiff
path: root/docs/src/cimport-warning
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/cimport-warning')
-rw-r--r--docs/src/cimport-warning8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/src/cimport-warning b/docs/src/cimport-warning
new file mode 100644
index 000000000..f762291fa
--- /dev/null
+++ b/docs/src/cimport-warning
@@ -0,0 +1,8 @@
+.. warning::
+
+ The code provided above / on this page uses an external
+ native (non-Python) library through a ``cimport`` (``cython.cimports``).
+ Cython compilation enables this, but there is no support for this from
+ plain Python. Trying to run this code from Python (without compilation)
+ will fail when accessing the external library.
+ This is described in more detail in :ref:`calling-c-functions`.