FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add more overloads to the `re` stubs to help out pyright by AlexWaygood · Pull Request #9592 · python/typeshed · GitHub

Repository navigation

Add more overloads to the re stubs to help out pyright - #9592

Merged
JelleZijlstra merged 5 commits into
mainfrom
pyright-re
Jan 28, 2023
Merged

JelleZijlstra merged 5 commits into
mainfrom
pyright-re

Conversation

Copy link
Copy Markdown
Member

Fixes #9591

AlexWaygood marked this pull request as draft January 26, 2023 17:45
AlexWaygood marked this pull request as ready for review January 26, 2023 17:52
AlexWaygood marked this pull request as draft January 26, 2023 18:03

This comment has been minimized.

Copy link
Copy Markdown
Member Author

#9593 is a simpler approach, but one which mypy might not like so much (let's see what mypy_primer says).

Copy link
Copy Markdown
Member Author

Mypy hates #9593, so I think this is the best we can do.

AlexWaygood marked this pull request as ready for review January 26, 2023 18:25

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

re.match(), re.search() and re.fullmatch() cannot be used with AnyStr

2 participants


Back | FazBrowse Home | New Git URL