# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001-2025, Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # python-doc bot, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.9\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2025-01-03 16:35+0000\n" "PO-Revision-Date: 2025-09-22 17:54+0000\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: zh_CN\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../../c-api/none.rst:6 msgid "The ``None`` Object" msgstr "``None`` 对象" #: ../../c-api/none.rst:10 msgid "" "Note that the :c:type:`PyTypeObject` for ``None`` is not directly exposed in" " the Python/C API. Since ``None`` is a singleton, testing for object " "identity (using ``==`` in C) is sufficient. There is no " ":c:func:`PyNone_Check` function for the same reason." msgstr "" "请注意, ``None`` 的 :c:type:`PyTypeObject` 不会直接在 Python / C API 中公开。 由于 ``None``" " 是单例,测试对象标识(在C中使用 ``==`` )就足够了。 由于同样的原因,没有 :c:func:`PyNone_Check` 函数。" #: ../../c-api/none.rst:18 msgid "" "The Python ``None`` object, denoting lack of value. This object has no " "methods. It needs to be treated just like any other object with respect to " "reference counts." msgstr "Python ``None`` 对象,表示缺乏值。 这个对象没有方法。 它需要像引用计数一样处理任何其他对象。" #: ../../c-api/none.rst:25 msgid "" "Properly handle returning :c:data:`Py_None` from within a C function (that " "is, increment the reference count of ``None`` and return it.)" msgstr "正确处理来自C函数内的 :c:data:`Py_None` 返回(也就是说,增加 ``None`` 的引用计数并返回它。)"