[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/python/python-docs-zh-tw/library/string/c-api/method.po [Back]  [Original]

# Copyright (C) 2001-2022, Python Software Foundation
# This file is distributed under the same license as the Python package.
#
# Translators:
# Leon H., 2017
# Matt Wang , 2022
msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-24 00:03+0000\n"
"PO-Revision-Date: 2022-01-24 22:22+0800\n"
"Last-Translator: Matt Wang \n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.0.1\n"

#: ../../c-api/method.rst:6
msgid "Instance Method Objects"
msgstr " (Instance Method Objects)"

#: ../../c-api/method.rst:10
msgid ""
"An instance method is a wrapper for a :c:type:`PyCFunction` and the new way "
"to bind a :c:type:`PyCFunction` to a class object. It replaces the former "
"call ``PyMethod_New(func, NULL, class)``."
msgstr ""
" :c:type:`PyCFunction`  (wrapper) :c:type:"
"`PyCFunction`  (bind)  "
"``PyMethod_New(func, NULL, class)`` "

#: ../../c-api/method.rst:17
msgid ""
"This instance of :c:type:`PyTypeObject` represents the Python instance "
"method type. It is not exposed to Python programs."
msgstr ""
":c:type:`PyTypeObject`  Python  (expose) "
" Python "

#: ../../c-api/method.rst:23
msgid ""
"Return true if *o* is an instance method object (has type :c:data:"
"`PyInstanceMethod_Type`).  The parameter must not be ``NULL``. This function "
"always succeeds."
msgstr ""
" *o*  :c:data:`PyInstanceMethod_Type` "
"true ``NULL``"

#: ../../c-api/method.rst:30
msgid ""
"Return a new instance method object, with *func* being any callable object. "
"*func* is the function that will be called when the instance method is "
"called."
msgstr ""
"*func*  *func* "
""

#: ../../c-api/method.rst:37
msgid "Return the function object associated with the instance method *im*."
msgstr " *im* "

#: ../../c-api/method.rst:42
msgid ""
"Macro version of :c:func:`PyInstanceMethod_Function` which avoids error "
"checking."
msgstr ""
" (macro)  :c:func:`PyInstanceMethod_Function`"

#: ../../c-api/method.rst:48
msgid "Method Objects"
msgstr " (Method Objects)"

#: ../../c-api/method.rst:52
msgid ""
"Methods are bound function objects. Methods are always bound to an instance "
"of a user-defined class. Unbound methods (methods bound to a class object) "
"are no longer available."
msgstr ""
" (bound function) "
""

#: ../../c-api/method.rst:61
msgid ""
"This instance of :c:type:`PyTypeObject` represents the Python method type.  "
"This is exposed to Python programs as ``types.MethodType``."
msgstr ""
" :c:type:`PyTypeObject`  Python  ``types."
"MethodType``  Python "

#: ../../c-api/method.rst:67
msgid ""
"Return true if *o* is a method object (has type :c:data:`PyMethod_Type`).  "
"The parameter must not be ``NULL``.  This function always succeeds."
msgstr ""
" *o*  :c:data:`PyMethod_Type` true"
" ``NULL``"

#: ../../c-api/method.rst:73
msgid ""
"Return a new method object, with *func* being any callable object and *self* "
"the instance the method should be bound. *func* is the function that will be "
"called when the method is called. *self* must not be ``NULL``."
msgstr ""
"*func* *self* "
"*func* *self*  ``NULL``"

#: ../../c-api/method.rst:80
msgid "Return the function object associated with the method *meth*."
msgstr " *meth* "

#: ../../c-api/method.rst:85
msgid ""
"Macro version of :c:func:`PyMethod_Function` which avoids error checking."
msgstr " :c:func:`PyMethod_Function`"

#: ../../c-api/method.rst:90
msgid "Return the instance associated with the method *meth*."
msgstr " *meth* "

#: ../../c-api/method.rst:95
msgid "Macro version of :c:func:`PyMethod_Self` which avoids error checking."
msgstr " :c:func:`PyMethod_Self`"

#: ../../c-api/method.rst:8 ../../c-api/method.rst:50
msgid "object"
msgstr "object"

#: ../../c-api/method.rst:8
msgid "instancemethod"
msgstr "instancemethod"

#: ../../c-api/method.rst:50
msgid "method"
msgstr "method"

#: ../../c-api/method.rst:59
msgid "MethodType (in module types)"
msgstr "MethodTypetypes "

Web Proxy Viewer  |  New URL  |  Original Page