|
8 | 8 | msgstr "" |
9 | 9 | "Project-Id-Version: Python 3.7\n" |
10 | 10 | "Report-Msgid-Bugs-To: \n" |
11 | | -"POT-Creation-Date: 2018-06-30 05:56+0900\n" |
12 | | -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 11 | +"POT-Creation-Date: 2018-11-30 09:52+0900\n" |
| 12 | +"PO-Revision-Date: 2017-02-16 17:39+0000\n" |
13 | 13 | "Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n" |
14 | 14 | "MIME-Version: 1.0\n" |
15 | 15 | "Content-Type: text/plain; charset=UTF-8\n" |
@@ -55,74 +55,78 @@ msgid "" |
55 | 55 | ":c:member:`~PyTypeObject.tp_flags` itself is not part of the limited API." |
56 | 56 | msgstr "" |
57 | 57 |
|
58 | | -#: ../../c-api/type.rst:50 |
| 58 | +#: ../../c-api/type.rst:47 |
| 59 | +msgid "The return type is now ``unsigned long`` rather than ``long``." |
| 60 | +msgstr "" |
| 61 | + |
| 62 | +#: ../../c-api/type.rst:53 |
59 | 63 | msgid "" |
60 | 64 | "Invalidate the internal lookup cache for the type and all of its subtypes. " |
61 | 65 | "This function must be called after any manual modification of the attributes" |
62 | 66 | " or base classes of the type." |
63 | 67 | msgstr "" |
64 | 68 |
|
65 | | -#: ../../c-api/type.rst:57 |
| 69 | +#: ../../c-api/type.rst:60 |
66 | 70 | msgid "" |
67 | 71 | "Return true if the type object *o* sets the feature *feature*. Type " |
68 | 72 | "features are denoted by single bit flags." |
69 | 73 | msgstr "" |
70 | 74 |
|
71 | | -#: ../../c-api/type.rst:63 |
| 75 | +#: ../../c-api/type.rst:66 |
72 | 76 | msgid "" |
73 | 77 | "Return true if the type object includes support for the cycle detector; this" |
74 | 78 | " tests the type flag :const:`Py_TPFLAGS_HAVE_GC`." |
75 | 79 | msgstr "" |
76 | 80 |
|
77 | | -#: ../../c-api/type.rst:69 |
| 81 | +#: ../../c-api/type.rst:72 |
78 | 82 | msgid "Return true if *a* is a subtype of *b*." |
79 | 83 | msgstr "" |
80 | 84 |
|
81 | | -#: ../../c-api/type.rst:71 |
| 85 | +#: ../../c-api/type.rst:74 |
82 | 86 | msgid "" |
83 | 87 | "This function only checks for actual subtypes, which means that " |
84 | 88 | ":meth:`~class.__subclasscheck__` is not called on *b*. Call " |
85 | 89 | ":c:func:`PyObject_IsSubclass` to do the same check that :func:`issubclass` " |
86 | 90 | "would do." |
87 | 91 | msgstr "" |
88 | 92 |
|
89 | | -#: ../../c-api/type.rst:79 |
| 93 | +#: ../../c-api/type.rst:82 |
90 | 94 | msgid "" |
91 | 95 | "Generic handler for the :c:member:`~PyTypeObject.tp_alloc` slot of a type " |
92 | 96 | "object. Use Python's default memory allocation mechanism to allocate a new " |
93 | 97 | "instance and initialize all its contents to *NULL*." |
94 | 98 | msgstr "" |
95 | 99 |
|
96 | | -#: ../../c-api/type.rst:85 |
| 100 | +#: ../../c-api/type.rst:88 |
97 | 101 | msgid "" |
98 | 102 | "Generic handler for the :c:member:`~PyTypeObject.tp_new` slot of a type " |
99 | 103 | "object. Create a new instance using the type's " |
100 | 104 | ":c:member:`~PyTypeObject.tp_alloc` slot." |
101 | 105 | msgstr "" |
102 | 106 |
|
103 | | -#: ../../c-api/type.rst:90 |
| 107 | +#: ../../c-api/type.rst:93 |
104 | 108 | msgid "" |
105 | 109 | "Finalize a type object. This should be called on all type objects to finish" |
106 | 110 | " their initialization. This function is responsible for adding inherited " |
107 | 111 | "slots from a type's base class. Return ``0`` on success, or return ``-1`` " |
108 | 112 | "and sets an exception on error." |
109 | 113 | msgstr "" |
110 | 114 |
|
111 | | -#: ../../c-api/type.rst:97 |
| 115 | +#: ../../c-api/type.rst:100 |
112 | 116 | msgid "" |
113 | 117 | "Creates and returns a heap type object from the *spec* passed to the " |
114 | 118 | "function." |
115 | 119 | msgstr "" |
116 | 120 |
|
117 | | -#: ../../c-api/type.rst:101 |
| 121 | +#: ../../c-api/type.rst:104 |
118 | 122 | msgid "" |
119 | 123 | "Creates and returns a heap type object from the *spec*. In addition to that," |
120 | 124 | " the created heap type contains all types contained by the *bases* tuple as " |
121 | 125 | "base types. This allows the caller to reference other heap types as base " |
122 | 126 | "types." |
123 | 127 | msgstr "" |
124 | 128 |
|
125 | | -#: ../../c-api/type.rst:109 |
| 129 | +#: ../../c-api/type.rst:112 |
126 | 130 | msgid "" |
127 | 131 | "Return the function pointer stored in the given slot. If the result is " |
128 | 132 | "*NULL*, this indicates that either the slot is *NULL*, or that the function " |
|
0 commit comments