diff --git a/stdlib/@tests/stubtest_allowlists/py314.txt b/stdlib/@tests/stubtest_allowlists/py314.txt index 3cf65860e..e9a9bb9ad 100644 --- a/stdlib/@tests/stubtest_allowlists/py314.txt +++ b/stdlib/@tests/stubtest_allowlists/py314.txt @@ -480,7 +480,6 @@ pdb.set_trace pkgutil.__all__ pkgutil.find_loader pkgutil.get_loader -platform.invalidate_caches pstats.FunctionProfile.__annotate_func__ pstats.FunctionProfile.__annotations_cache__ pstats.StatsProfile.__annotate_func__ diff --git a/stdlib/platform.pyi b/stdlib/platform.pyi index 19fac2613..fbc73c6c9 100644 --- a/stdlib/platform.pyi +++ b/stdlib/platform.pyi @@ -82,3 +82,6 @@ if sys.version_info >= (3, 13): is_emulator: bool = False, ) -> AndroidVer: ... def ios_ver(system: str = "", release: str = "", model: str = "", is_simulator: bool = False) -> IOSVersionInfo: ... + +if sys.version_info >= (3, 14): + def invalidate_caches() -> None: ...