Add stub for SameFileError. (#594)

This commit is contained in:
paavoap
2016-10-10 23:07:54 +08:00
committed by Matthias Kramm
parent 490b34649f
commit 71042452c7

View File

@@ -1,4 +1,5 @@
# Stubs for shutil
import sys
# Based on http://docs.python.org/3.2/library/shutil.html
@@ -27,6 +28,8 @@ def rmtree(path: str, ignore_errors: bool = ...,
def move(src: str, dst: str) -> None: ...
class Error(Exception): ...
if sys.version_info >= (3, 4):
class SameFileError(Error): ...
def make_archive(base_name: str, format: str, root_dir: str = ...,
base_dir: str = ..., verbose: bool = ...,