Commit 66e34a8
authored
docs(specifiers): add is_unsatisfiable() usage example (#1166)
* docs(specifiers): add is_unsatisfiable() usage example
* docs(specifiers): add compound SpecifierSet & is_unsatisfiable example
Per review feedback from @henryiii and @notatallshaw, adds a compound
example using the & operator to show how combining two SpecifierSets
can produce an unsatisfiable set — closer to how users actually build
specifiers from requires-python plus other constraints.1 parent 02c1e95 commit 66e34a8
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
52 | 62 | | |
53 | 63 | | |
54 | 64 | | |
| |||
0 commit comments