Skip to content

Commit eb73f74

Browse files
committed
remove "historical reason" explanations
1 parent 3ba0a59 commit eb73f74

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source/command_line.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ of the above sections.
728728
if text != b'other bytes': # Error: non-overlapping equality check!
729729
...
730730
731-
assert text is not None # OK, check against None is allowed for historical reasons.
731+
assert text is not None # OK, check against None is allowed
732732
733733
734734
.. option:: --strict-equality-for-none

docs/source/error_code_list2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ literal:
146146
return x == b'magic' # OK
147147
148148
:option:`--strict-equality <mypy --strict-equality>` does not include comparisons with
149-
``None`` for historical reasons (support for type comments):
149+
``None``:
150150

151151
.. code-block:: python
152152

0 commit comments

Comments
 (0)