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

gh-113317, Argument Clinic: Add DSLParser.fail() method #115370

Closed
wants to merge 1 commit into from

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Feb 12, 2024

  • Add 'lineno' parameter to DSLParser.format_docstring() method.
  • DSLParser.do_post_block_processing_cleanup() now pass 'lineno' to format_docstring() and so log the line number on error.

This change prepares the code to move the fail() function to a Clinic.fail() method to avoid the 'clinic' global variable.

* Add 'lineno' parameter to DSLParser.format_docstring() method.
* DSLParser.do_post_block_processing_cleanup() now pass 'lineno' to
  format_docstring() and so log the line number on error.

This change prepares the code to move the fail() function to a
Clinic.fail() method to avoid the 'clinic' global variable.
@erlend-aasland
Copy link
Contributor

Obsoleted by #115510

@vstinner vstinner deleted the ac_dslparser branch February 15, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants