Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-115077: Argument Clinic: generate better error messages when parsing function declaration#115555
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
Uh oh!
There was an error while loading. Please reload this page.
gh-115077: Argument Clinic: generate better error messages when parsing function declaration #115555
Changes from all commits
fe3b8cac926abc33c21e760553b79b937711cc7248e8c1de33c83c5dFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| import re | ||
| RE_FULLNAME = re.compile(r"\s*([\w.]+)\s*") | ||
| RE_C_BASENAME = re.compile(r"\bas\b\s*(?:([^-=\s]+)\s*)?") | ||
| RE_CLONE = re.compile(r"=\s*(?:([^-=\s]+)\s*)?") | ||
Comment on lines +5 to +6 Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wrote it pass most of your tests, but perhaps ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, my test case might also be too contrived. | ||
| RE_RETURNS = re.compile(r"->\s*(.*)") | ||
Uh oh!
There was an error while loading. Please reload this page.