Skip to content

Commit 1f9240b

Browse files
authored
Add more translations of library/io (#776)
1 parent 78c5069 commit 1f9240b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

library/io.po

+9-1
Original file line numberDiff line numberDiff line change
@@ -921,25 +921,33 @@ msgid ""
921921
"data; unlike their :class:`RawIOBase` counterparts, they will never return "
922922
"``None``."
923923
msgstr ""
924+
"此外,如果底層的原始串流處於非阻塞模式且無法提供或接收足夠的資料,這些方法可"
925+
"能會引發 :exc:`BlockingIOError` 例外;與 :class:`RawIOBase` 不同之處在於,它"
926+
"們永遠不會回傳 ``None``。"
924927

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

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

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

944952
#: ../../library/io.rst:546
945953
msgid ""

0 commit comments

Comments
 (0)