Skip to content

Commit 43e2d98

Browse files
authored
Docs: Add caution about ranges like py{39-314} (#3652)
1 parent be1a50a commit 43e2d98

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/config.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1688,6 +1688,13 @@ will create the following envs:
16881688
16891689
Negative ranges will also be expanded (``{3-1}`` -> ``{3,2,1}``), however, open ranges such as ``{1-}``, ``{-2}``, ``{a-}``, and ``{-b}`` will not be expanded.
16901690

1691+
.. caution::
1692+
1693+
Be conscious of the number of significant digits in your range endpoints.
1694+
A range like ``py{39-314}`` will not do what you may expect.
1695+
(It expands to 275 environment names,
1696+
``py39``, ``py40``, ``py41`` … ``py314``.)
1697+
Instead, use ``py3{9-14}``.
16911698

16921699

16931700
Generative section names

0 commit comments

Comments
 (0)