mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
||||
|
||||
def readdict(dict, fp):
|
||||
contents = fp.read() # Or: util.readopenfile(fp)
|
||||
contents = fp.read()
|
||||
globals = {}
|
||||
exec(contents, globals)
|
||||
top = globals['top']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue