@@ -573,7 +573,7 @@ msgstr "返回新的绝对位置。"
573573
574574#: ../../library/io.rst:345 ../../library/io.rst:852
575575msgid "The ``SEEK_*`` constants."
576- msgstr ""
576+ msgstr "``SEEK_*`` 常量. "
577577
578578#: ../../library/io.rst:348
579579msgid ""
@@ -898,7 +898,7 @@ msgstr ""
898898
899899#: ../../library/io.rst:596
900900msgid "The *opener* parameter was added. The ``'x'`` mode was added."
901- msgstr ""
901+ msgstr "增加了 *opener* 参数。增加了 ``'x'`` 模式。 "
902902
903903#: ../../library/io.rst:600
904904msgid "The file is now non-inheritable."
@@ -918,7 +918,7 @@ msgstr "构造函数中给定的模式。"
918918msgid ""
919919"The file name. This is the file descriptor of the file when no name is "
920920"given in the constructor."
921- msgstr ""
921+ msgstr "文件名。当构造函数中没有给定名称时,这是文件的文件描述符。 "
922922
923923#: ../../library/io.rst:618
924924msgid "Buffered Streams"
@@ -968,7 +968,7 @@ msgstr ""
968968
969969#: ../../library/io.rst:660
970970msgid "In :class:`BytesIO`, this is the same as :meth:`~BufferedIOBase.read`."
971- msgstr ""
971+ msgstr "在 :class:`BytesIO` 中,这与 :meth:`~BufferedIOBase.read` 相同。 "
972972
973973#: ../../library/io.rst:662 ../../library/io.rst:703
974974msgid "The *size* argument is now optional."
@@ -977,7 +977,7 @@ msgstr "*size* 参数现在是可选的。"
977977#: ../../library/io.rst:667
978978msgid ""
979979"In :class:`BytesIO`, this is the same as :meth:`~BufferedIOBase.readinto`."
980- msgstr ""
980+ msgstr "在 :class:`BytesIO` 中,这与 :meth:`~BufferedIOBase.readinto` 相同。 "
981981
982982#: ../../library/io.rst:673
983983msgid ""
@@ -1191,7 +1191,7 @@ msgstr ""
11911191
11921192#: ../../library/io.rst:832
11931193msgid "If *size* is specified, at most *size* characters will be read."
1194- msgstr ""
1194+ msgstr "如果指定了 *size* ,最多将读取 *size* 个字符。 "
11951195
11961196#: ../../library/io.rst:836
11971197msgid ""
@@ -1409,7 +1409,7 @@ msgstr "性能"
14091409msgid ""
14101410"This section discusses the performance of the provided concrete I/O "
14111411"implementations."
1412- msgstr ""
1412+ msgstr "本节讨论所提供的具体 I/O 实现的性能。 "
14131413
14141414#: ../../library/io.rst:1021
14151415msgid ""
@@ -1457,6 +1457,9 @@ msgid ""
14571457":class:`BufferedRWPair`) protect their internal structures using a lock; it "
14581458"is therefore safe to call them from multiple threads at once."
14591459msgstr ""
1460+ "二进制缓冲对象(例如 :class:`BufferedReader`, :class:`BufferedWriter`, "
1461+ ":class:`BufferedRandom` 和 "
1462+ ":class:`BufferedRWPair`)使用锁来保护其内部结构;因此,可以安全地一次从多个线程中调用它们。"
14601463
14611464#: ../../library/io.rst:1054
14621465msgid ":class:`TextIOWrapper` objects are not thread-safe."
0 commit comments