| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -130,11 +130,6 @@ mailbox.Mailbox.__exit__ | |||
| 130 | 130 | mailbox._ProxyFile.__class_getitem__ | |
| 131 | 131 | marshal.dump | |
| 132 | 132 | marshal.dumps | |
| 133 | - math.fmax | ||
| 134 | - math.fmin | ||
| 135 | - math.isnormal | ||
| 136 | - math.issubnormal | ||
| 137 | - math.signbit | ||
| 138 | 133 | multiprocessing.context.BaseContext.set_forkserver_preload | |
| 139 | 134 | multiprocessing.forkserver.ForkServer.set_forkserver_preload | |
| 140 | 135 | multiprocessing.forkserver.main | |
@@ -197,8 +192,6 @@ profiling.sampling.sample | |||
| 197 | 192 | profiling.sampling.stack_collector | |
| 198 | 193 | profiling.sampling.string_table | |
| 199 | 194 | profiling.tracing | |
| 200 | - pydoc.Doc.STDLIB_DIR | ||
| 201 | - pydoc.Doc.getdocloc | ||
| 202 | 195 | site.addsitedir | |
| 203 | 196 | site.addsitepackages | |
| 204 | 197 | site.addusersitepackages | |
@@ -221,7 +214,6 @@ threading.__all__ | |||
| 221 | 214 | threading.concurrent_tee | |
| 222 | 215 | threading.serialize_iterator | |
| 223 | 216 | threading.synchronized_iterator | |
| 224 | - timeit.Timer.autorange | ||
| 225 | 217 | tkinter.Grid.content | |
| 226 | 218 | tkinter.Grid.grid_content | |
| 227 | 219 | tkinter.Image.__iter__ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -208,6 +208,7 @@ mailbox: 3.0- | |||
| 208 | 208 | mailcap: 3.0-3.12 | |
| 209 | 209 | marshal: 3.0- | |
| 210 | 210 | math: 3.0- | |
| 211 | + math.integer: 3.15- | ||
| 211 | 212 | mimetypes: 3.0- | |
| 212 | 213 | mmap: 3.0- | |
| 213 | 214 | modulefinder: 3.0- | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -58,6 +58,11 @@ def floor(x: _SupportsFloor[_T], /) -> _T: ... | |||
| 58 | 58 | @overload | |
| 59 | 59 | def floor(x: _SupportsFloatOrIndex, /) -> int: ... | |
| 60 | 60 | def fmod(x: _SupportsFloatOrIndex, y: _SupportsFloatOrIndex, /) -> float: ... | |
| 61 | + | ||
| 62 | + if sys.version_info >= (3, 15): | ||
| 63 | + def fmax(x: _SupportsFloatOrIndex, y: _SupportsFloatOrIndex, /) -> float: ... | ||
| 64 | + def fmin(x: _SupportsFloatOrIndex, y: _SupportsFloatOrIndex, /) -> float: ... | ||
| 65 | + | ||
| 61 | 66 | def frexp(x: _SupportsFloatOrIndex, /) -> tuple[float, int]: ... | |
| 62 | 67 | def fsum(seq: Iterable[_SupportsFloatOrIndex], /) -> float: ... | |
| 63 | 68 | def gamma(x: _SupportsFloatOrIndex, /) -> float: ... | |
@@ -73,6 +78,11 @@ def isclose( | |||
| 73 | 78 | def isinf(x: _SupportsFloatOrIndex, /) -> bool: ... | |
| 74 | 79 | def isfinite(x: _SupportsFloatOrIndex, /) -> bool: ... | |
| 75 | 80 | def isnan(x: _SupportsFloatOrIndex, /) -> bool: ... | |
| 81 | + | ||
| 82 | + if sys.version_info >= (3, 15): | ||
| 83 | + def isnormal(x: _SupportsFloatOrIndex, /) -> bool: ... | ||
| 84 | + def issubnormal(x: _SupportsFloatOrIndex, /) -> bool: ... | ||
| 85 | + | ||
| 76 | 86 | def isqrt(n: SupportsIndex, /) -> int: ... | |
| 77 | 87 | def lcm(*integers: SupportsIndex) -> int: ... | |
| 78 | 88 | def ldexp(x: _SupportsFloatOrIndex, i: int, /) -> float: ... | |
@@ -118,6 +128,10 @@ def prod(iterable: Iterable[_MultiplicableT1], /, *, start: _MultiplicableT2) -> | |||
| 118 | 128 | def radians(x: _SupportsFloatOrIndex, /) -> float: ... | |
| 119 | 129 | def remainder(x: _SupportsFloatOrIndex, y: _SupportsFloatOrIndex, /) -> float: ... | |
| 120 | 130 | def sin(x: _SupportsFloatOrIndex, /) -> float: ... | |
| 131 | + | ||
| 132 | + if sys.version_info >= (3, 15): | ||
| 133 | + def signbit(x: _SupportsFloatOrIndex, /) -> bool: ... | ||
| 134 | + | ||
| 121 | 135 | def sinh(x: _SupportsFloatOrIndex, /) -> float: ... | |
| 122 | 136 | ||
| 123 | 137 | if sys.version_info >= (3, 12): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,8 @@ | |||
| 1 | + from typing import SupportsIndex | ||
| 2 | + | ||
| 3 | + def comb(n: SupportsIndex, k: SupportsIndex, /) -> int: ... | ||
| 4 | + def factorial(n: SupportsIndex, /) -> int: ... | ||
| 5 | + def gcd(*integers: SupportsIndex) -> int: ... | ||
| 6 | + def isqrt(n: SupportsIndex, /) -> int: ... | ||
| 7 | + def lcm(*integers: SupportsIndex) -> int: ... | ||
| 8 | + def perm(n: SupportsIndex, k: SupportsIndex | None = None, /) -> int: ... | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -56,6 +56,9 @@ def safeimport(path: str, forceload: bool = ..., cache: MutableMapping[str, Modu | |||
| 56 | 56 | ||
| 57 | 57 | class Doc: | |
| 58 | 58 | PYTHONDOCS: str | |
| 59 | + if sys.version_info >= (3, 15): | ||
| 60 | + STDLIB_DIR: str | ||
| 61 | + | ||
| 59 | 62 | def document(self, object: object, name: str | None = None, *args: Any) -> str: ... | |
| 60 | 63 | def fail(self, object: object, name: str | None = None, *args: Any) -> NoReturn: ... | |
| 61 | 64 | @abstractmethod | |
@@ -70,7 +73,10 @@ class Doc: | |||
| 70 | 73 | def docproperty(self, object: object, name: str | None = None, *args: Any) -> str: ... | |
| 71 | 74 | @abstractmethod | |
| 72 | 75 | def docdata(self, object: object, name: str | None = None, *args: Any) -> str: ... | |
| 73 | - def getdocloc(self, object: object, basedir: str = ...) -> str | None: ... | ||
| 76 | + if sys.version_info >= (3, 15): | ||
| 77 | + def getdocloc(self, object: object, basedir: str | None = None) -> str | None: ... | ||
| 78 | + else: | ||
| 79 | + def getdocloc(self, object: object, basedir: str = ...) -> str | None: ... | ||
| 74 | 80 | ||
| 75 | 81 | class HTMLRepr(Repr): | |
| 76 | 82 | def __init__(self) -> None: ... | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,4 @@ | |||
| 1 | + import sys | ||
| 1 | 2 | import time | |
| 2 | 3 | from collections.abc import Callable, Sequence | |
| 3 | 4 | from typing import IO, Any, TypeAlias | |
@@ -20,7 +21,12 @@ class Timer: | |||
| 20 | 21 | def print_exc(self, file: IO[str] | None = None) -> None: ... | |
| 21 | 22 | def timeit(self, number: int = 1000000) -> float: ... | |
| 22 | 23 | def repeat(self, repeat: int = 5, number: int = 1000000) -> list[float]: ... | |
| 23 | - def autorange(self, callback: Callable[[int, float], object] | None = None) -> tuple[int, float]: ... | ||
| 24 | + if sys.version_info >= (3, 15): | ||
| 25 | + def autorange( | ||
| 26 | + self, callback: Callable[[int, float], object] | None = None, target_time: float = 0.2 | ||
| 27 | + ) -> tuple[int, float]: ... | ||
| 28 | + else: | ||
| 29 | + def autorange(self, callback: Callable[[int, float], object] | None = None) -> tuple[int, float]: ... | ||
| 24 | 30 | ||
| 25 | 31 | def timeit( | |
| 26 | 32 | stmt: _Stmt = "pass", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments