@@ -79,6 +79,8 @@ msgid ""
79
79
"``NULL``; if ``NULL``, the ``__qualname__`` attribute is set to the same "
80
80
"value as its ``__name__`` attribute."
81
81
msgstr ""
82
+ ":c:func:`PyFunction_New` に似ていますが、関数オブジェクトの ``__qualname__`` 属性に値をセットできます。\n"
83
+ "*qualname* はユニコードオブジェクトか ``NULL`` でなくてはなりません。``NULL`` だった場合、 ``__qualname__`` 属性には ``__name__`` 属性と同じ値がセットされます。"
82
84
83
85
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/function.rst:54
84
86
msgid "Return the code object associated with the function object *op*."
@@ -103,12 +105,16 @@ msgid ""
103
105
"Return the argument default values of the function object *op*. This can be "
104
106
"a tuple of arguments or ``NULL``."
105
107
msgstr ""
108
+ "関数オブジェクト *op* の引数のデフォルト値を返します。\n"
109
+ "引数のタプルか ``NULL`` になります。"
106
110
107
111
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/function.rst:77
108
112
msgid ""
109
113
"Set the argument default values for the function object *op*. *defaults* "
110
114
"must be ``Py_None`` or a tuple."
111
115
msgstr ""
116
+ "関数オブジェクト *op* の引数のデフォルト値を設定します。\n"
117
+ "*defaults* は ``Py_None`` かタプルでなければいけません。"
112
118
113
119
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/function.rst:80
114
120
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/function.rst:94
@@ -121,21 +127,29 @@ msgid ""
121
127
"Return the closure associated with the function object *op*. This can be "
122
128
"``NULL`` or a tuple of cell objects."
123
129
msgstr ""
130
+ "関数オブジェクト *op* に設定されたクロージャを返します。\n"
131
+ "``NULL`` か cell オブジェクトのタプルです。"
124
132
125
133
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/function.rst:91
126
134
msgid ""
127
135
"Set the closure associated with the function object *op*. *closure* must be "
128
136
"``Py_None`` or a tuple of cell objects."
129
137
msgstr ""
138
+ "関数オブジェクト *op* にクロージャを設定します。\n"
139
+ "*closure* は、``Py_None`` もしくは cell オブジェクトのタプルでなければなりません。"
130
140
131
141
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/function.rst:99
132
142
msgid ""
133
143
"Return the annotations of the function object *op*. This can be a mutable "
134
144
"dictionary or ``NULL``."
135
145
msgstr ""
146
+ "関数オブジェクト *op* のアノテーションを返します。\n"
147
+ "返り値は修正可能な辞書か ``NULL`` になります。"
136
148
137
149
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/function.rst:105
138
150
msgid ""
139
151
"Set the annotations for the function object *op*. *annotations* must be a "
140
152
"dictionary or ``Py_None``."
141
153
msgstr ""
154
+ "関数オブジェクト *op* のアノテーションを設定します。\n"
155
+ "*annotations* は辞書か、``Py_None`` でなければなりません。"