From 713c6fb1e155fbda2c313ddf4685e89be7571025 Mon Sep 17 00:00:00 2001 From: StarHeartHunt Date: Mon, 23 Oct 2023 13:56:12 +0800 Subject: [PATCH] :green_heart: rewrite replaced str --- scripts/build_api_docs.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/build_api_docs.py b/scripts/build_api_docs.py index 59026ec..9cb1aef 100644 --- a/scripts/build_api_docs.py +++ b/scripts/build_api_docs.py @@ -17,5 +17,4 @@ for modname, path in builder.paths.items(): text = path.read_text(encoding="utf-8") - text.replace("", "") - path.write_text(text, encoding="utf-8") + path.write_text(text.replace("", ""), encoding="utf-8")