File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11# Change Log
22
3- ## Unreleased
3+ ## 23.11.0
44
55New error codes:
6- * Introduce Y058: Use ` Iterator ` rather than ` Generator ` as the return value
6+ * Y058: Use ` Iterator ` rather than ` Generator ` as the return value
77 for simple ` __iter__ ` methods, and ` AsyncIterator ` rather than
88 ` AsyncGenerator ` as the return value for simple ` __aiter__ ` methods.
9- * Introduce Y059: ` Generic[] ` should always be the last base class, if it is
9+ * Y059: ` Generic[] ` should always be the last base class, if it is
1010 present in the bases of a class.
11- * Introduce Y060, which flags redundant inheritance from ` Generic[] ` .
12- * Introduce Y061: Do not use ` None ` inside a ` Literal[] ` slice.
11+ * Y060, which flags redundant inheritance from ` Generic[] ` .
12+ * Y061: Do not use ` None ` inside a ` Literal[] ` slice.
1313 For example, use ` Literal["foo"] | None ` instead of ` Literal["foo", None] ` .
1414
1515Other changes:
You can’t perform that action at this time.
0 commit comments