Skip to content

Commit

Permalink
fix docstring of vars()
Browse files Browse the repository at this point in the history
  • Loading branch information
kambala-decapitator authored Dec 23, 2024
1 parent ef5d9d5 commit 6d24c82
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions conan/tools/env/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 6d24c82

Please sign in to comment.