Skip to content

docs: first argument for _has_dependency is a name#970

Merged
layday merged 2 commits intopypa:mainfrom
abitrolly:patch-2
Jan 3, 2026
Merged

docs: first argument for _has_dependency is a name#970
layday merged 2 commits intopypa:mainfrom
abitrolly:patch-2

Conversation

@abitrolly
Copy link
Contributor

@abitrolly abitrolly commented Jan 2, 2026

Fixed function description. It would be nice to get some usage example, how version string looks like.

EDIT: The code has this example.

_has_dependency('pip', '22.3')

Which checks if pip >= 22.3 is installed.

@layday layday merged commit f219276 into pypa:main Jan 3, 2026
64 checks passed
@abitrolly abitrolly deleted the patch-2 branch January 5, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants