summaryrefslogtreecommitdiff
path: root/docs/examples/tutorial/pure/py_cimport.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/tutorial/pure/py_cimport.py')
-rw-r--r--docs/examples/tutorial/pure/py_cimport.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/examples/tutorial/pure/py_cimport.py b/docs/examples/tutorial/pure/py_cimport.py
new file mode 100644
index 000000000..233ddde7e
--- /dev/null
+++ b/docs/examples/tutorial/pure/py_cimport.py
@@ -0,0 +1,5 @@
+
+from cython.cimports.libc import math
+
+def use_libc_math():
+ return math.ceil(5.5)