From d16d5397e57919b50513bab13519fdbba7815c63 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sat, 1 Mar 2025 21:36:10 +0530 Subject: docs: Mention deprecation of path(), document full_path() --- docs/markdown/Python-module.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'docs/markdown/Python-module.md') diff --git a/docs/markdown/Python-module.md b/docs/markdown/Python-module.md index 1ea5e6485..66081762d 100644 --- a/docs/markdown/Python-module.md +++ b/docs/markdown/Python-module.md @@ -87,10 +87,22 @@ added methods. str py_installation.path() ``` -*Added 0.50.0* +*(since 0.50.0)* -Works like the path method of other `ExternalProgram` objects. Was not -provided prior to 0.50.0 due to a bug. +*Deprecated in 0.55: use `full_path()` instead* + +Works like the path method of `ExternalProgram` objects. Was not provided prior +to 0.50.0 due to a bug. + +#### `full_path()` + +```meson +str py_installation.full_path() +``` + +*(since 0.55.0)* + +Works like the `full_path()` method of `ExternalProgram` objects: [[external_program.full_path]] #### `extension_module()` -- cgit v1.2.3