Skip to content

Add more translations of library/io #776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion library/io.po
Original file line number Diff line number Diff line change
Expand Up @@ -921,25 +921,33 @@ msgid ""
"data; unlike their :class:`RawIOBase` counterparts, they will never return "
"``None``."
msgstr ""
"此外,如果底層的原始串流處於非阻塞模式且無法提供或接收足夠的資料,這些方法可"
"能會引發 :exc:`BlockingIOError` 例外;與 :class:`RawIOBase` 不同之處在於,它"
"們永遠不會回傳 ``None``。"

#: ../../library/io.rst:534
msgid ""
"Besides, the :meth:`read` method does not have a default implementation that "
"defers to :meth:`readinto`."
msgstr ""
msgstr "此外,:meth:`read` 方法不存在一個遵從 :meth:`readinto` 的預設實作。"

#: ../../library/io.rst:537
msgid ""
"A typical :class:`BufferedIOBase` implementation should not inherit from a :"
"class:`RawIOBase` implementation, but wrap one, like :class:`BufferedWriter` "
"and :class:`BufferedReader` do."
msgstr ""
"一個典型的 :class:`BufferedIOBase` 實作不應該繼承自一個 :class:`RawIOBase` 的"
"實作,而是應該改用包裝的方式,像 :class:`BufferedWriter` 和 :class:"
"`BufferedReader` 那樣的作法。"

#: ../../library/io.rst:541
msgid ""
":class:`BufferedIOBase` provides or overrides these data attributes and "
"methods in addition to those from :class:`IOBase`:"
msgstr ""
":class:`BufferedIOBase` 除了提供或覆寫來自 :class:`IOBase` 的資料屬性和方法以"
"外,還包含了這些:"

#: ../../library/io.rst:546
msgid ""
Expand Down