Commit 6d04fd7
committed
Remove the incorrect Optional from FormatChecker's formats annotation.
See https://docs.python.org/3/library/typing.html#typing.Optional.
This is meant to be used only if None is a specifically allowed value, where
here it is not, it's an internal sentinel, not part of its public API, which
only allows iterables.1 parent fd491f9 commit 6d04fd7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments