You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix kwonlyargs default value parsing for compulsory keyword-only args ordered before optional keyword-only args.
Previously, the logic in `FormatArguments.format_kwargs` had an assumption about the ordering of compulsory vs. optional kwonlyargs parameters. Optional kwonlyargs were assumed to come before non-optional kwonlyargs. In places where this wasn't the case, the default value would get attached to the wrong keyword-only arg parameter in the output signature.
PiperOrigin-RevId: 411085094
0 commit comments