mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
Remove reference to util.
This commit is contained in:
parent
e2e162ec42
commit
fa0e726154
@ -62,7 +62,7 @@ def writedict(dict, fp):
|
||||
sys.stdout = savestdout
|
||||
|
||||
def readdict(dict, fp):
|
||||
contents = fp.read() # Or: util.readopenfile(fp)
|
||||
contents = fp.read()
|
||||
globals = {}
|
||||
exec(contents, globals)
|
||||
top = globals['top']
|
||||
|
Loading…
Reference in New Issue
Block a user