We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ba0a59 commit eb73f74Copy full SHA for eb73f74
docs/source/command_line.rst
@@ -728,7 +728,7 @@ of the above sections.
728
if text != b'other bytes': # Error: non-overlapping equality check!
729
...
730
731
- assert text is not None # OK, check against None is allowed for historical reasons.
+ assert text is not None # OK, check against None is allowed
732
733
734
.. option:: --strict-equality-for-none
docs/source/error_code_list2.rst
@@ -146,7 +146,7 @@ literal:
146
return x == b'magic' # OK
147
148
:option:`--strict-equality <mypy --strict-equality>` does not include comparisons with
149
-``None`` for historical reasons (support for type comments):
+``None``:
150
151
.. code-block:: python
152
0 commit comments