# German translations for Python package. # Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # Automatically generated, 2026. # msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-11-05 06:38+0000\n" "PO-Revision-Date: 2026-11-01 00:10+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../../c-api/pyexpat.rst:4 msgid "Expat C API" msgstr "" #: ../../c-api/pyexpat.rst:6 msgid "" "The :mod:`xml.parsers.expat` module exposes selected Expat functions through " "its ``expat_CAPI`` capsule. This allows extension modules to use the same " "Expat library as Python. The interface is declared in :file:`pyexpat.h`, " "which must be included after Expat's :file:`expat.h` header." msgstr "" #: ../../c-api/pyexpat.rst:13 msgid "" "The name of the capsule containing the Expat C API: " "``\"pyexpat.expat_CAPI\"``. Pass this to :c:func:`PyCapsule_Import` to " "obtain a pointer to a :c:struct:`PyExpat_CAPI`." msgstr "" #: ../../c-api/pyexpat.rst:20 msgid "" "The string identifying the layout of :c:struct:`PyExpat_CAPI`. Before using " "the function pointers in the structure, check that its ``magic`` member " "compares equal to this string using ``strcmp()`` and its ``size`` member is " "at least :c:expr:`sizeof(struct PyExpat_CAPI)`." msgstr "" #: ../../c-api/pyexpat.rst:28 msgid "" "Table of function pointers exported by :mod:`xml.parsers.expat`. The capsule " "owns this structure: treat it as read-only and do not free it. Keep a strong " "reference to the capsule while using the table." msgstr "" #: ../../c-api/pyexpat.rst:32 msgid "" "Check the compatibility fields as described " "under :c:macro:`PyExpat_CAPI_MAGIC` before using the function pointers." msgstr "" #: ../../c-api/pyexpat.rst:37 msgid "Interface identifier, set to :c:macro:`PyExpat_CAPI_MAGIC`." msgstr "" #: ../../c-api/pyexpat.rst:41 msgid "" "Size of the structure in bytes, set to ``sizeof(struct PyExpat_CAPI)`` by " "the :mod:`xml.parsers.expat` module that created the capsule." msgstr "" #: ../../c-api/pyexpat.rst:48 msgid "" "Major, minor, and micro version numbers of the Expat library used " "by :mod:`xml.parsers.expat`." msgstr "" #: ../../c-api/pyexpat.rst:53 msgid "" "Pointer to `XML_SetUnknownEncodingHandler `_. The handler may set a Python " "exception on failure. The caller must check for a Python exception after " "parsing." msgstr "" #: ../../c-api/pyexpat.rst:60 msgid "" "Python's unknown-encoding handler for Expat, used with " "``XML_SetUnknownEncodingHandler``. It uses Python's codec registry to fill " "*info*. The *encodingHandlerData* argument is unused. Calling this handler " "requires an :term:`attached thread state`." msgstr "" #: ../../c-api/pyexpat.rst:66 msgid "" "Pointers to the corresponding Expat functions, or ``NULL`` if not available " "in the Expat version used by :mod:`xml.parsers.expat`, are listed below." msgstr "" #: ../../c-api/pyexpat.rst:70 msgid "" "Member names omit the ``XML_`` prefix; for example, ``SetHashSalt`` exposes " "Expat's ``XML_SetHashSalt`` function. See the `Expat API reference `_ for their behavior and the minimum " "Expat version they appear in." msgstr "" #: ../../c-api/pyexpat.rst:99 msgid "" "See the `Expat API reference `_." msgstr ""