MCPcopy Index your code
hub / github.com/python/cpython / write_text

Method write_text

Lib/test/test_importlib/metadata/_path.py:27–27  ·  view source on GitHub ↗
(self, content, /, *, encoding)

Source from the content-addressed store, hash-verified

25 def __truediv__(self, other, /) -> Self: ...
26 def mkdir(self, *, exist_ok) -> object: ...
27 def write_text(self, content, /, *, encoding) -> object: ...
28 def write_bytes(self, content, /) -> object: ...
29 def symlink_to(self, target, /) -> object: ...
30

Callers 15

runMethod · 0.45
make_moduleMethod · 0.45
__enter__Method · 0.45
check_contextMethod · 0.45
set_sourceMethod · 0.45
_Function · 0.45
test_write_textMethod · 0.45

Calls

no outgoing calls

Tested by 15

runMethod · 0.36
make_moduleMethod · 0.36
__enter__Method · 0.36
check_contextMethod · 0.36
set_sourceMethod · 0.36
test_write_textMethod · 0.36