From 609a936e12e9355c26276a12d53275bc5bad1928 Mon Sep 17 00:00:00 2001 From: wyattscarpenter Date: Sun, 7 Sep 2025 15:39:24 +0700 Subject: [PATCH] Update options.py: typo `scrict_equality` and phrasing Fixes a typo `scrict_equality` which meant `strict_equality`. While in there, I also changed a preposition to be more specific. --- mypy/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mypy/options.py b/mypy/options.py index 5aced56c940f..b1456934c6c9 100644 --- a/mypy/options.py +++ b/mypy/options.py @@ -232,7 +232,7 @@ def __init__(self) -> None: # This makes 1 == '1', 1 in ['1'], and 1 is '1' errors. self.strict_equality = False - # Extend the logic of `scrict_equality` for comparisons with `None`. + # Extend the logic of `strict_equality` to comparisons with `None`. self.strict_equality_for_none = False # Disable treating bytearray and memoryview as subtypes of bytes