basedpyright 1.31.6 → 1.31.7-73ef798dbfde5656fa115d2a33f19c34d437e448
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/pyright-langserver.js +1 -1
- package/dist/pyright-langserver.js.map +1 -1
- package/dist/pyright.js +1 -1
- package/dist/pyright.js.map +1 -1
- package/dist/typeshed-fallback/stdlib/_asyncio.pyi +6 -2
- package/dist/typeshed-fallback/stdlib/_compression.pyi +28 -28
- package/dist/typeshed-fallback/stdlib/_contextvars.pyi +6 -2
- package/dist/typeshed-fallback/stdlib/_ctypes.pyi +10 -51
- package/dist/typeshed-fallback/stdlib/_curses.pyi +187 -17
- package/dist/typeshed-fallback/stdlib/_decimal.pyi +7 -1
- package/dist/typeshed-fallback/stdlib/_heapq.pyi +20 -5
- package/dist/typeshed-fallback/stdlib/_interpqueues.pyi +6 -6
- package/dist/typeshed-fallback/stdlib/_interpreters.pyi +1 -7
- package/dist/typeshed-fallback/stdlib/_io.pyi +9 -5
- package/dist/typeshed-fallback/stdlib/_lsprof.pyi +12 -20
- package/dist/typeshed-fallback/stdlib/_operator.pyi +6 -2
- package/dist/typeshed-fallback/stdlib/_pickle.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/_posixsubprocess.pyi +26 -26
- package/dist/typeshed-fallback/stdlib/_socket.pyi +6 -18
- package/dist/typeshed-fallback/stdlib/_stat.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/_thread.pyi +10 -2
- package/dist/typeshed-fallback/stdlib/_zstd.pyi +300 -97
- package/dist/typeshed-fallback/stdlib/annotationlib.pyi +146 -146
- package/dist/typeshed-fallback/stdlib/ast.pyi +256 -96
- package/dist/typeshed-fallback/stdlib/asyncio/graph.pyi +28 -28
- package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/asyncio/tools.pyi +46 -46
- package/dist/typeshed-fallback/stdlib/builtins.pyi +46 -36
- package/dist/typeshed-fallback/stdlib/compression/_common/_streams.pyi +26 -26
- package/dist/typeshed-fallback/stdlib/compression/bz2.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/compression/gzip.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/compression/lzma.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/compression/zlib.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/compression/zstd/__init__.pyi +88 -88
- package/dist/typeshed-fallback/stdlib/compression/zstd/_zstdfile.pyi +117 -117
- package/dist/typeshed-fallback/stdlib/concurrent/futures/interpreter.pyi +79 -79
- package/dist/typeshed-fallback/stdlib/concurrent/futures/thread.pyi +8 -8
- package/dist/typeshed-fallback/stdlib/concurrent/interpreters/__init__.pyi +68 -68
- package/dist/typeshed-fallback/stdlib/concurrent/interpreters/_crossinterp.pyi +30 -30
- package/dist/typeshed-fallback/stdlib/concurrent/interpreters/_queues.pyi +74 -74
- package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +7 -1
- package/dist/typeshed-fallback/stdlib/datetime.pyi +6 -2
- package/dist/typeshed-fallback/stdlib/decimal.pyi +12 -1
- package/dist/typeshed-fallback/stdlib/faulthandler.pyi +7 -5
- package/dist/typeshed-fallback/stdlib/functools.pyi +5 -9
- package/dist/typeshed-fallback/stdlib/gc.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/marshal.pyi +6 -6
- package/dist/typeshed-fallback/stdlib/math.pyi +1 -3
- package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/numbers.pyi +2 -10
- package/dist/typeshed-fallback/stdlib/os/__init__.pyi +15 -1
- package/dist/typeshed-fallback/stdlib/pathlib/__init__.pyi +6 -1
- package/dist/typeshed-fallback/stdlib/pathlib/types.pyi +8 -8
- package/dist/typeshed-fallback/stdlib/pyexpat/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/string/templatelib.pyi +46 -36
- package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +25 -2
- package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +7 -1
- package/dist/typeshed-fallback/stdlib/types.pyi +22 -8
- package/dist/typeshed-fallback/stdlib/typing.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/unicodedata.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/winsound.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/xxlimited.pyi +3 -16
- package/package.json +1 -1
|
@@ -10,6 +10,10 @@ SND_NODEFAULT - Do not play a default beep if the sound can not be found
|
|
|
10
10
|
SND_NOSTOP - Do not interrupt any sounds currently playing
|
|
11
11
|
SND_NOWAIT - Return immediately if the sound driver is busy
|
|
12
12
|
SND_APPLICATION - sound is an application-specific alias in the registry.
|
|
13
|
+
SND_SENTRY - Triggers a SoundSentry event when the sound is played.
|
|
14
|
+
SND_SYNC - Play the sound synchronously, default behavior.
|
|
15
|
+
SND_SYSTEM - Assign sound to the audio session for system notification sounds.
|
|
16
|
+
|
|
13
17
|
Beep(frequency, duration) - Make a beep through the PC speaker.
|
|
14
18
|
MessageBeep(type) - Call Windows MessageBeep.
|
|
15
19
|
"""
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"""This is a template module just for instruction."""
|
|
2
|
-
|
|
3
1
|
import sys
|
|
4
2
|
from typing import Any, ClassVar, final
|
|
5
3
|
|
|
@@ -7,23 +5,12 @@ class Str(str): ...
|
|
|
7
5
|
|
|
8
6
|
@final
|
|
9
7
|
class Xxo:
|
|
10
|
-
|
|
11
|
-
def demo(self) -> None:
|
|
12
|
-
"""demo(o) -> o"""
|
|
13
|
-
...
|
|
8
|
+
def demo(self) -> None: ...
|
|
14
9
|
if sys.version_info >= (3, 11) and sys.platform != "win32":
|
|
15
10
|
x_exports: int
|
|
16
11
|
|
|
17
|
-
def foo(i: int, j: int, /) -> Any:
|
|
18
|
-
|
|
19
|
-
foo(i,j)
|
|
20
|
-
|
|
21
|
-
Return the sum of i and j.
|
|
22
|
-
"""
|
|
23
|
-
...
|
|
24
|
-
def new() -> Xxo:
|
|
25
|
-
"""new() -> new Xx object"""
|
|
26
|
-
...
|
|
12
|
+
def foo(i: int, j: int, /) -> Any: ...
|
|
13
|
+
def new() -> Xxo: ...
|
|
27
14
|
|
|
28
15
|
if sys.version_info >= (3, 10):
|
|
29
16
|
class Error(Exception): ...
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "basedpyright",
|
|
3
3
|
"displayName": "basedpyright",
|
|
4
4
|
"description": "a fork of pyright with various type checking improvements, pylance features and more.",
|
|
5
|
-
"version": "1.31.
|
|
5
|
+
"version": "1.31.7-73ef798dbfde5656fa115d2a33f19c34d437e448",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "detachhead"
|