Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ dump
Function
dump
recipes/Python/276149_Read_a_file_backwords/recipe-276149.py:60–66 ·
view source on GitHub ↗
(rtype, fn)
Source
from the content-addressed store, hash-verified
58
return
self.buffer +
'\n'
59
60
def
dump(rtype, fn):
61
import
sys
62
63
fo = file(fn)
64
for
line in rtype(fo):
65
sys.stdout.write(line)
66
fo.close()
67
68
def
rereverse(rtype, fn):
69
fo = file(fn)
Callers
nothing calls this directly
Calls
2
write
Method · 0.45
close
Method · 0.45
Tested by
no test coverage detected