Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cool-RR/PySnooper
/ write
Method
write
pysnooper/tracer.py:346–348 ·
view source on GitHub ↗
(self, s)
Source
from the content-addressed store, hash-verified
344
return
simple_wrapper
345
346
def
write(self, s):
347
s = u
'{self.prefix}{s}\n'
.format(**locals())
348
self._write(s)
349
350
def
__enter__(self):
351
if
DISABLED:
Callers
13
__exit__
Method · 0.95
trace
Method · 0.95
print_authors
Function · 0.45
write
Function · 0.45
write
Method · 0.45
write
Function · 0.45
test_unavailable_source
Function · 0.45
test_no_overwrite_by_default
Function · 0.45
test_overwrite
Function · 0.45
test_valid_zipfile
Function · 0.45
test_invalid_zipfile
Function · 0.45
write_bytes
Method · 0.45
Calls
no outgoing calls
Tested by
6
write
Function · 0.36
test_unavailable_source
Function · 0.36
test_no_overwrite_by_default
Function · 0.36
test_overwrite
Function · 0.36
test_valid_zipfile
Function · 0.36
test_invalid_zipfile
Function · 0.36