From 6d24c824fcb2acec4f85a83fd27298a0da1d1994 Mon Sep 17 00:00:00 2001 From: Andrey Filipenkov Date: Mon, 23 Dec 2024 17:04:03 +0300 Subject: [PATCH] fix docstring of vars() --- conan/tools/env/environment.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/conan/tools/env/environment.py b/conan/tools/env/environment.py index fc4ef2f9927..c6f9f6cd9b9 100644 --- a/conan/tools/env/environment.py +++ b/conan/tools/env/environment.py @@ -318,10 +318,9 @@ def __eq__(self, other): def vars(self, conanfile, scope="build"): """ - Return an EnvVars object from the current Environment object :param conanfile: Instance of a conanfile, usually ``self`` in a recipe :param scope: Determine the scope of the declared variables. - :return: + :return: An EnvVars object from the current Environment object """ return EnvVars(conanfile, self._values, scope)