docs: util/environment.py: use re.Pattern[str] instead of re (#45329)

* docs: util/environment.py: use `re.Pattern[str]` instead of `re`

* docs: sphinx==7.4.6
This commit is contained in:
Wouter Deconinck 2024-07-19 13:03:07 -05:00 committed by GitHub
parent 4447d3339c
commit 24b73da9e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
sphinx==7.2.6
sphinx==7.4.6
sphinxcontrib-programoutput==0.17
sphinx_design==0.6.0
sphinx-rtd-theme==2.0.0

View File

@ -718,9 +718,9 @@ def from_sourcing_file(
(default: ``&> /dev/null``)
concatenate_on_success (str): operator used to execute a command
only when the previous command succeeds (default: ``&&``)
exclude ([str or re]): ignore any modifications of these
exclude ([str or re.Pattern[str]]): ignore any modifications of these
variables (default: [])
include ([str or re]): always respect modifications of these
include ([str or re.Pattern[str]]): always respect modifications of these
variables (default: []). Supersedes any excluded variables.
clean (bool): in addition to removing empty entries,
also remove duplicate entries (default: False).