Commit 837f7e0
authored
stubtest: correct type annotations in _Arguments (python#16897)
Two fields in the `_Arguments` class, `mypy_config_file` and
`custom_typeshed_dir`, can take on a None value, but they are not marked
as such. Calling `stubtest.parse_options` on an empty list of arguments
reproduces the situation where these two fields are None.1 parent 996544f commit 837f7e0
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1878 | 1878 | | |
1879 | 1879 | | |
1880 | 1880 | | |
1881 | | - | |
1882 | | - | |
| 1881 | + | |
| 1882 | + | |
1883 | 1883 | | |
1884 | 1884 | | |
1885 | 1885 | | |
| |||
1922 | 1922 | | |
1923 | 1923 | | |
1924 | 1924 | | |
1925 | | - | |
| 1925 | + | |
1926 | 1926 | | |
1927 | 1927 | | |
1928 | 1928 | | |
| |||
0 commit comments