Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abbreviate varinfo signature and re-order for consistency #48860

Merged
merged 2 commits into from
May 27, 2023

Conversation

LilithHafner
Copy link
Member

The signature line is very long, so I dropped the ::Bool annotations which imo don't add value. I also switched from mixed m=Main and imported = false style to consistent m=Main and imported=false. Consistent within a single line is better than inconsistent, and I chose more concise because we're well over the line limit.

Also reorder the function arguments to match the docstring. NFC, but might avoid some confusion for IDEs that show the actual signature.

cc @udohjeremiah

The signature line is very long, so I dropped the ::Bool annotations which imo don't add value. I also switched from mixed `m=Main` and `imported = false` style to consistent `m=Main` and `imported=false`. Consistent within a single line is  better than inconsistent, and I chose more concise because we're well over the line limit.

Also reorder the function arguments to match the docstring. NFC, but might avoid some confusion for IDEs that show the actual signature.

cc @udohjeremiah
@LilithHafner LilithHafner added the domain:docs This change adds or pertains to documentation label Mar 2, 2023
@LilithHafner LilithHafner merged commit 248ceda into master May 27, 2023
1 check passed
@LilithHafner LilithHafner deleted the LilithHafner-patch-3 branch May 27, 2023 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants