Skip to content

Add Literal support for docstrings#17441

Merged
ilevkivskyi merged 3 commits into
python:masterfrom
InvincibleRMC:add-Literal-stubgenc
Jun 29, 2024
Merged

Add Literal support for docstrings#17441
ilevkivskyi merged 3 commits into
python:masterfrom
InvincibleRMC:add-Literal-stubgenc

Conversation

@InvincibleRMC

Copy link
Copy Markdown
Contributor

(Explain how this PR changes mypy.)

Updates the is_valid_type regex to include quotes and .

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@ilevkivskyi
ilevkivskyi merged commit a27447d into python:master Jun 29, 2024
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.

2 participants