Skip to content

Commit 91e206f

Browse files
committed
Update linecache to Python 3.11
1 parent 06ed5cc commit 91e206f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Lib/linecache.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77

88
import functools
99
import sys
10-
try:
11-
import os
12-
except ImportError:
13-
import _dummy_os as os
10+
import os
1411
import tokenize
1512

1613
__all__ = ["getline", "clearcache", "checkcache", "lazycache"]

0 commit comments

Comments
 (0)