Skip to content

docs(specifiers): add is_unsatisfiable() usage example#1166

Open
r266-tech wants to merge 1 commit intopypa:mainfrom
r266-tech:docs-specifiers-is-unsatisfiable-usage
Open

docs(specifiers): add is_unsatisfiable() usage example#1166
r266-tech wants to merge 1 commit intopypa:mainfrom
r266-tech:docs-specifiers-is-unsatisfiable-usage

Conversation

@r266-tech
Copy link
Copy Markdown
Contributor

Fixes #1165

PR #1119 added SpecifierSet.is_unsatisfiable() but the usage examples in docs/specifiers.rst don't demonstrate it. Users scanning the Usage section have no way to discover this method without reading the full API reference.

Added a doctest example showing is_unsatisfiable() on both an unsatisfiable set (>=2.0,<1.0True) and a satisfiable one (>=1.0,<2.0False), placed after the existing filter() example.

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.

docs(specifiers): is_unsatisfiable() missing from usage examples

2 participants