Skip to content

Abbreviate varinfo signature and re-order for consistency#48860

Merged
LilithHafner merged 2 commits intomasterfrom
LilithHafner-patch-3
May 27, 2023
Merged

Abbreviate varinfo signature and re-order for consistency#48860
LilithHafner merged 2 commits intomasterfrom
LilithHafner-patch-3

Conversation

@LilithHafner
Copy link
Copy Markdown
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 docs This change adds or pertains to documentation label Mar 2, 2023
@LilithHafner LilithHafner merged commit 248ceda into master May 27, 2023
@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

docs This change adds or pertains to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants