def write_text(self,
text,
encoding=None,
errors='strict',
linesep=os.linesep,
append=False):
return path.Path.write_text(self, text, encoding, errors, linesep, append)