Make shutil.rmtree.onexc parameter optional (#12002)

This commit is contained in:
Avasam
2024-05-22 16:41:25 -04:00
committed by GitHub
parent 06efe457d4
commit 50cbca413c
2 changed files with 12 additions and 8 deletions

View File

@@ -1,3 +1,4 @@
from _typeshed import Incomplete, StrOrBytesPath
from _typeshed import StrOrBytesPath
from shutil import _OnExcCallback
def shutil_rmtree(path: StrOrBytesPath, ignore_errors: bool = False, onexc: Incomplete | None = None): ...
def shutil_rmtree(path: StrOrBytesPath, ignore_errors: bool = False, onexc: _OnExcCallback | None = None): ...