__path__
is inferred an Iterable[str]
rather than list
#10058
Labels
addressed in next version
Issue is fixed and will appear in next published version
bug
Something isn't working
Note: This is a regression of #1032. I've confirmed it appears in the latest released version.
Describe the bug
With the following code:
mcve/__init__.py
:(Code sample in pyright playground)
Pyright give errors:
But the code works fine:
VS Code extension or command-line
Command line: pyright 1.1.396
The text was updated successfully, but these errors were encountered: