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

Skip to content

Commit e7e1dee

Browse files
committed
Issue # 17177: Stop using imp in turtledemo
1 parent b57a085 commit e7e1dee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/turtledemo/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from idlelib.Percolator import Percolator
77
from idlelib.ColorDelegator import ColorDelegator
88
from idlelib.textView import view_file # TextViewer
9-
from imp import reload
9+
from importlib import reload
1010

1111
import turtle
1212
import time

0 commit comments

Comments
 (0)