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)