MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / TextFile

Class TextFile

Lib/distutils/text_file.py:12–304  ·  view source on GitHub ↗

Provides a file-like object that takes care of all the things you commonly want to do when processing a text file that has some line-by-line syntax: strip comments (as long as "#" is your comment character), skip blank lines, join adjacent lines by escaping the newline (i

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

parse_makefileFunction · 0.90
read_setup_fileFunction · 0.90
read_templateMethod · 0.90
test_classMethod · 0.90

Calls

no outgoing calls

Tested by 1

test_classMethod · 0.72