list(open().read()) should work now, fixes #412.

This commit is contained in:
Dave Halter
2015-04-09 00:46:31 +02:00
parent 408d182c41
commit 79caa2186e
3 changed files with 11 additions and 3 deletions

View File

@@ -143,6 +143,9 @@ ret()[0]
with open('') as f:
#? ['closed']
f.closed
for line in f:
#? str()
line
with open('') as f1, open('') as f2:
#? ['closed']