File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55#
66# Translators:
77# Fei Yin <[email protected] >, 20188- # zkonge , 2018
8+ # Freesand Leo <[email protected] > , 201899#
1010#, fuzzy
1111msgid ""
@@ -14,7 +14,7 @@ msgstr ""
1414"Report-Msgid-Bugs-To : \n "
1515"POT-Creation-Date : 2018-06-30 05:56+0900\n "
1616"PO-Revision-Date : 2017-02-16 17:33+0000\n "
17- "Last-Translator : zkonge , 2018\n "
17+ "
Last-Translator :
Freesand Leo <[email protected] > , 2018\n"
1818"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1919"MIME-Version : 1.0\n "
2020"Content-Type : text/plain; charset=UTF-8\n "
@@ -34,8 +34,9 @@ msgid ""
3434"Third-party libraries may define their own types for special purposes, such "
3535"as image processing or numeric analysis."
3636msgstr ""
37- "你能在Python中使用用于提供对底层内存数组的或*buffer*的访问能力的一些对象。这样的对象包括:内置的:类:`bytes`和:类:`bytearray`"
38- " 和一些像:类:`array.array`这样的扩展类型。第三方库可能为了某些特殊的目的定义它们自己的类型,比如某些用于图片处理和用于数值统计的库。"
37+ "在 Python 中可使用一些对象来包装对底层内存数组或称 *缓冲* 的访问。此类对象包括内置的 :class:`bytes` 和 "
38+ ":class:`bytearray` 以及一些如 :class:`array.array` "
39+ "这样的扩展类型。第三方库也可能会为了特殊的目的而定义它们自己的类型,例如用于图像处理和数值分析等。"
3940
4041#: ../../c-api/buffer.rst:24
4142msgid ""
Original file line number Diff line number Diff line change @@ -2462,6 +2462,8 @@ msgid ""
24622462"unless they also define *__slots__* (which should only contain names of any "
24632463"*additional* slots)."
24642464msgstr ""
2465+ "*__slots__* 声明的作用不只限于定义它的类。在父类中声明的 *__slots__* 在其子类中同样可用。不过,子类将会获得 "
2466+ "*__dict__* 和 *__weakref__* 除非它们也定义了 *__slots__* (其中应该仅包含对任何 *额外* 名称的声明位置)。"
24652467
24662468#: ../../reference/datamodel.rst:1766
24672469msgid ""
You can’t perform that action at this time.
0 commit comments