当Path("notes.txt").write_text("new") 指向已有文件时会怎样?

来自Python
进阶 1分钟

当Path("notes.txt").write_text("new") 指向已有文件时会怎样?

报告错误