Skip to content

Commit b7185c9

Browse files
Remove last occurrences of Python 2.7 (#18822)
Update the documentation: change occurrences of Python 2.7, use Python 3.9 instead.
1 parent cd422e0 commit b7185c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/config_file.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ Platform configuration
432432

433433
Specifies the Python version used to parse and check the target
434434
program. The string should be in the format ``MAJOR.MINOR`` --
435-
for example ``2.7``. The default is the version of the Python
435+
for example ``3.9``. The default is the version of the Python
436436
interpreter used to run mypy.
437437

438438
This option may only be set in the global section (``[mypy]``).
@@ -1196,7 +1196,7 @@ of your repo (or append it to the end of an existing ``pyproject.toml`` file) an
11961196
# mypy global options:
11971197
11981198
[tool.mypy]
1199-
python_version = "2.7"
1199+
python_version = "3.9"
12001200
warn_return_any = true
12011201
warn_unused_configs = true
12021202
exclude = [

0 commit comments

Comments
 (0)