diff --git a/stdlib/2and3/pickle.pyi b/stdlib/2and3/pickle.pyi index 99c047d47fe3..2b0124274a8a 100644 --- a/stdlib/2and3/pickle.pyi +++ b/stdlib/2and3/pickle.pyi @@ -82,8 +82,6 @@ class Pickler: def dump(self, obj: Any) -> None: ... def clear_memo(self) -> None: ... def persistent_id(self, obj: Any) -> Any: ... - if sys.version_info >= (3, 8): - def reducer_override(self, obj: Any) -> Any: ... class Unpickler: if sys.version_info >= (3, 8): diff --git a/tests/stubtest_whitelists/py38.txt b/tests/stubtest_whitelists/py38.txt index 75d890b9f6df..125988ff520c 100644 --- a/tests/stubtest_whitelists/py38.txt +++ b/tests/stubtest_whitelists/py38.txt @@ -148,7 +148,6 @@ os.setresuid os.waitid pickle.Pickler.dump pickle.Pickler.reducer_override -pickle.Pickler.reducer_override-redefinition platform.DEV_NULL profile.Profile.runcall pwd.getpwuid