Skip to content

Commit e8d93be

Browse files
committed
fix(py): Lib/shutils: SameFileError not of PyOSError
1 parent 2b58ce2 commit e8d93be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pylib/Lib/shutil.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ proc copyfileobj*(s, d: File, length=COPY_BUFSIZE) =
6262
copyfileobjImpl(s, d, length)
6363

6464
type
65-
Error = object of OSError ## python's shutil.Error
65+
Error = object of PyOSError ## python's shutil.Error
6666
SameFileError* = object of Error
6767
template copyFileImpl(src, dst: string; options: CopyFlag) =
6868
## called by copyfile

0 commit comments

Comments
 (0)