mirror of
https://github.com/microsoft/pyright.git
synced 2024-10-26 10:55:06 +03:00
Fixed a bug that causes warnings.deprecated
not to work if the python version is 3.13. This was caused by recent changes to typeshed stubs.
This commit is contained in:
parent
b0cee14316
commit
6baa5b1368
@ -298,7 +298,8 @@ export class SourceFile {
|
||||
this._uri.pathEndsWith('stdlib/abc.pyi') ||
|
||||
this._uri.pathEndsWith('stdlib/enum.pyi') ||
|
||||
this._uri.pathEndsWith('stdlib/queue.pyi') ||
|
||||
this._uri.pathEndsWith('stdlib/types.pyi')
|
||||
this._uri.pathEndsWith('stdlib/types.pyi') ||
|
||||
this._uri.pathEndsWith('stdlib/warnings.pyi')
|
||||
) {
|
||||
this._isBuiltInStubFile = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user