summaryrefslogtreecommitdiff
path: root/docs/examples/userguide/sharing_declarations/lunch.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/userguide/sharing_declarations/lunch.py')
-rw-r--r--docs/examples/userguide/sharing_declarations/lunch.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/examples/userguide/sharing_declarations/lunch.py b/docs/examples/userguide/sharing_declarations/lunch.py
new file mode 100644
index 000000000..df56913eb
--- /dev/null
+++ b/docs/examples/userguide/sharing_declarations/lunch.py
@@ -0,0 +1,5 @@
+import cython
+from cython.cimports.c_lunch import eject_tomato as c_eject_tomato
+
+def eject_tomato(speed: cython.float):
+ c_eject_tomato(speed)