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

More precise types in preserve_defaults.py #12385

Merged
merged 1 commit into from
May 18, 2024

Conversation

JelleZijlstra
Copy link
Contributor

Followup from python/typeshed#11880. Not all AST nodes have a lineno; in this file only parameter defaults are passed to this function, which are always ast.expr.

Subject: Prepare for future typing errors from a mypy upgrade

Feature or Bugfix

  • Refactoring

Followup from python/typeshed#11880. Not all AST nodes have a lineno; in this file only parameter defaults are passed to this function, which are always ast.expr.
@JelleZijlstra JelleZijlstra marked this pull request as ready for review May 18, 2024 15:19
Copy link
Member

@chrisjsewell chrisjsewell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers!

@chrisjsewell chrisjsewell merged commit 6ce4f96 into sphinx-doc:master May 18, 2024
23 checks passed
@JelleZijlstra JelleZijlstra deleted the patch-1 branch May 18, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants