From c5ab438149b1eaf481c5c15ddf23e6218292bffa Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Tue, 2 May 2023 12:20:36 +0800 Subject: [PATCH] fix: docs translate.md --- docs/src/howto/translate.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/src/howto/translate.md b/docs/src/howto/translate.md index 9a2660a..b7e7e87 100644 --- a/docs/src/howto/translate.md +++ b/docs/src/howto/translate.md @@ -3,9 +3,7 @@ ## 范例 ```python -from Difficult_Rocket.utils.translate import Tr +from Difficult_Rocket.utils.translate import tr -Tr.lang - -print(Tr.window.setup.done) +print(tr().window.setup.done()) ```