aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/markdown/Cython.md6
-rw-r--r--docs/markdown/snippets/first-class-cython.md4
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/markdown/Cython.md b/docs/markdown/Cython.md
index 17302b3..be05271 100644
--- a/docs/markdown/Cython.md
+++ b/docs/markdown/Cython.md
@@ -1,7 +1,7 @@
---
title: Cython
short-description: Support for Cython in Meson
-...
+---
# Cython
@@ -22,8 +22,8 @@ extension_module method:
```meson
project('my project', 'cython')
-py = import('python')
-dep_py3 = py.dependency()
+py = import('python').find_installation()
+dep_py = py.dependency()
py.extension_module(
'foo',
diff --git a/docs/markdown/snippets/first-class-cython.md b/docs/markdown/snippets/first-class-cython.md
index 4812697..54f9367 100644
--- a/docs/markdown/snippets/first-class-cython.md
+++ b/docs/markdown/snippets/first-class-cython.md
@@ -5,8 +5,8 @@ Meson now supports Cython as a first class language. This means you can write:
```meson
project('my project', 'cython')
-py = import('python')
-dep_py3 = py.dependency()
+py = import('python').find_installation()
+dep_py = py.dependency()
py.extension_module(
'foo',