mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Remove reference to util.
This commit is contained in:
parent
e2e162ec42
commit
fa0e726154
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ def writedict(dict, fp):
|
||||||
sys.stdout = savestdout
|
sys.stdout = savestdout
|
||||||
|
|
||||||
def readdict(dict, fp):
|
def readdict(dict, fp):
|
||||||
contents = fp.read() # Or: util.readopenfile(fp)
|
contents = fp.read()
|
||||||
globals = {}
|
globals = {}
|
||||||
exec(contents, globals)
|
exec(contents, globals)
|
||||||
top = globals['top']
|
top = globals['top']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue