File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 22
33## Next release
44
5- ## ` --strict-bytes `
5+ ### ` --strict-bytes `
66
77By default, mypy treats an annotation of `` bytes `` as permitting `` bytearray `` and `` memoryview `` .
88[ PEP 688] ( https://peps.python.org/pep-0688 ) specified the removal of this special case.
9- Use this flag to disable this behavior. ` --strict-bytes ` will be enabled by default in * mypy 2.0* .
9+ Use this flag to disable this behavior. ` --strict-bytes ` will be enabled by default in ** mypy 2.0* * .
1010
1111Contributed by Ali Hamdan (PR [ 18137] ( https://github.com/python/mypy/pull/18263/ ) ) and
1212Shantanu Jain (PR [ 13952] ( https://github.com/python/mypy/pull/13952 ) ).
1313
14- ## Improvements to partial type handling in loops
14+ ### Improvements to partial type handling in loops
1515
1616This change results in mypy better modelling control flow within loops and hence detecting several
1717issues it previously did not detect. In some cases, this change may require use of an additional
@@ -20,7 +20,7 @@ explicit annotation of a variable.
2020Contributed by Christoph Tyralla (PR [ 18180] ( https://github.com/python/mypy/pull/18180 ) ).
2121
2222(Speaking of partial types, another reminder that mypy plans on enabling ` --local-partial-types `
23- by default in * mypy 2.0* ).
23+ by default in ** mypy 2.0* * ).
2424
2525## Mypy 1.14
2626
You can’t perform that action at this time.
0 commit comments