From d647980f4a4dc941905cac8a4718ecb918c216c2 Mon Sep 17 00:00:00 2001 From: Guy Wilson Date: Sat, 7 Jun 2025 17:08:29 -0700 Subject: [PATCH] Update Fix help message url for "None and Optional handling" section --- mypy/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mypy/main.py b/mypy/main.py index 16e9e035bf2e..a407a88d3ac1 100644 --- a/mypy/main.py +++ b/mypy/main.py @@ -785,7 +785,7 @@ def add_invertible_flag( title="None and Optional handling", description="Adjust how values of type 'None' are handled. For more context on " "how mypy handles values of type 'None', see: " - "https://mypy.readthedocs.io/en/stable/kinds_of_types.html#no-strict-optional", + "https://mypy.readthedocs.io/en/stable/kinds_of_types.html#optional-types-and-the-none-type", ) add_invertible_flag( "--implicit-optional",