Skip to content

Commit

Permalink
Update python section of README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Oct 16, 2023
1 parent 6263339 commit 96ea522
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,20 +128,20 @@ Translate --translators=google,bing Free as in Freedom
```pycon
>>> from translate_shell.translate import translate
>>> translate("The Mythical Man-Month", "zh_TW")
... Translation(
... Translations(
... status=1,
... results=[
... {
... "translator": "google",
... "sl": "auto",
... "tl": "zh_TW",
... "text": "The Mythical Man-Month",
... "phonetic": "",
... "paraphrase": "人月神話",
... "explains": {},
... "details": {},
... "alternatives": ["神话般的人月"],
... }
... Translation(
... translator="google",
... sl="auto",
... tl="zh_TW",
... text="The Mythical Man-Month",
... phonetic="",
... paraphrase="神話般的人月",
... explains={},
... details={},
... alternatives=["神話般的月"]
... )
... ],
... text="The Mythical Man-Month",
... to_lang="zh_TW",
Expand Down

0 comments on commit 96ea522

Please sign in to comment.