Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 83c03e2

Browse files
committed
Add import sys, needed by reference to sys.exc_info() in rmtree().
Discovered by Mitch Chapman.
1 parent b6cf9a4 commit 83c03e2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/shutil.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"""
66

77
import os
8+
import sys
89
import stat
910

1011

0 commit comments

Comments
 (0)