Uh oh!
There was an error while loading. Please reload this page.
gh-104050: Argument Clinic: Annotate CLanguage.render_option_group_parsing() - #106929
Conversation
AlexWaygood
left a comment
There was a problem hiding this comment.
Some unnecessary use of quoted annotations now that we have from __future__ import annotations at the top of the file:
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Extra quotes around Parameter are not needed anymore Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Rip out ParamIter
| group = required | ||
| else: | ||
| right.append(group) | ||
| assert group is not None |
There was a problem hiding this comment.
This is fine for now, but I feel like there's probably a simpler way of writing the code immediately above that would be easier to understand and not require this assertion here for mypy
There was a problem hiding this comment.
Yes. We should accumulate these smells in the modernising-issue, so we don't forget. Or we can just grep for asserts.
Uh oh!
There was an error while loading. Please reload this page.
erlend-aasland
commented
Jul 20, 2023
Thanks, the same! |
Uh oh!
There was an error while loading. Please reload this page.