Skip to content

Update Fix help message url for "None and Optional handling" section #19252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guywilsonjr
Copy link

Fixes #19251

Correct url in help message"None and Optional handling" group
Checklist:

  • Read the Contributing Guidelines
  • Add tests for all changed behaviour.
  • If you can't add a test, please explain why and how you verified your changes work.
$ mypy -h
....
None and Optional handling:
  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#optional-types-and-the-none-type
...
  • - Make sure CI passes.
  • - Please do not force push to the PR once it has been reviewed.

@A5rocks
Copy link
Collaborator

A5rocks commented Jun 8, 2025

Maybe it makes more sense to update the docs to support this old anchor, for people on older mypy versions?

Copy link
Contributor

github-actions bot commented Jun 8, 2025

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Help message URL incorrect for "None and Optional handling"
2 participants