File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -921,25 +921,33 @@ msgid ""
921
921
"data; unlike their :class:`RawIOBase` counterparts, they will never return "
922
922
"``None``."
923
923
msgstr ""
924
+ "此外,如果底層的原始串流處於非阻塞模式且無法提供或接收足夠的資料,這些方法可"
925
+ "能會引發 :exc:`BlockingIOError` 例外;與 :class:`RawIOBase` 不同之處在於,它"
926
+ "們永遠不會回傳 ``None``。"
924
927
925
928
#: ../../library/io.rst:534
926
929
msgid ""
927
930
"Besides, the :meth:`read` method does not have a default implementation that "
928
931
"defers to :meth:`readinto`."
929
- msgstr ""
932
+ msgstr "此外,:meth:`read` 方法不存在一個遵從 :meth:`readinto` 的預設實作。 "
930
933
931
934
#: ../../library/io.rst:537
932
935
msgid ""
933
936
"A typical :class:`BufferedIOBase` implementation should not inherit from a :"
934
937
"class:`RawIOBase` implementation, but wrap one, like :class:`BufferedWriter` "
935
938
"and :class:`BufferedReader` do."
936
939
msgstr ""
940
+ "一個典型的 :class:`BufferedIOBase` 實作不應該繼承自一個 :class:`RawIOBase` 的"
941
+ "實作,而是應該改用包裝的方式,像 :class:`BufferedWriter` 和 :class:"
942
+ "`BufferedReader` 那樣的作法。"
937
943
938
944
#: ../../library/io.rst:541
939
945
msgid ""
940
946
":class:`BufferedIOBase` provides or overrides these data attributes and "
941
947
"methods in addition to those from :class:`IOBase`:"
942
948
msgstr ""
949
+ ":class:`BufferedIOBase` 除了提供或覆寫來自 :class:`IOBase` 的資料屬性和方法以"
950
+ "外,還包含了這些:"
943
951
944
952
#: ../../library/io.rst:546
945
953
msgid ""
You can’t perform that action at this time.
0 commit comments