Skip to content

Commit d6dc923

Browse files
hauntsaninjacdce8p
andauthored
Apply suggestions from code review
Co-authored-by: Marc Mueller <[email protected]>
1 parent 5ff2187 commit d6dc923

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
## Next release
44

5-
## `--strict-bytes`
5+
### `--strict-bytes`
66

77
By 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

1111
Contributed by Ali Hamdan (PR [18137](https://github.com/python/mypy/pull/18263/)) and
1212
Shantanu 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

1616
This change results in mypy better modelling control flow within loops and hence detecting several
1717
issues 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.
2020
Contributed 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

0 commit comments

Comments
 (0)