# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-11-13 20:42+0000\n"
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
"Last-Translator: python-doc bot, 2025\n"
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"
"id/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: id\n"
"Plural-Forms: nplurals=1; plural=0;\n"

msgid ":mod:`!string.templatelib` --- Support for template string literals"
msgstr ""

msgid "**Source code:** :source:`Lib/string/templatelib.py`"
msgstr ""

msgid ":ref:`Format strings <f-strings>`"
msgstr ""

msgid ":ref:`Template string literal (t-string) syntax <t-strings>`"
msgstr ""

msgid ":pep:`750`"
msgstr ""

msgid "Template strings"
msgstr ""

msgid ""
"Template strings are a mechanism for custom string processing. They have the "
"full flexibility of Python's :ref:`f-strings`, but return "
"a :class:`Template` instance that gives access to the static and "
"interpolated (in curly brackets) parts of a string *before* they are "
"combined."
msgstr ""

msgid ""
"To write a t-string, use a ``'t'`` prefix instead of an ``'f'``, like so:"
msgstr ""

msgid ""
">>> pi = 3.14\n"
">>> t't-strings are new in Python {pi!s}!'\n"
"Template(\n"
"   strings=('t-strings are new in Python ', '!'),\n"
"   interpolations=(Interpolation(3.14, 'pi', 's', ''),)\n"
")"
msgstr ""

msgid "Types"
msgstr "Tipe-tipe"

msgid ""
"The :class:`!Template` class describes the contents of a template string. It "
"is immutable, meaning that attributes of a template cannot be reassigned."
msgstr ""

msgid ""
"The most common way to create a :class:`!Template` instance is to use "
"the :ref:`template string literal syntax <t-strings>`. This syntax is "
"identical to that of :ref:`f-strings <f-strings>`, except that it uses a "
"``t`` prefix in place of an ``f``:"
msgstr ""

msgid ""
"Templates are stored as sequences of literal :attr:`~Template.strings` and "
"dynamic :attr:`~Template.interpolations`. A :attr:`~Template.values` "
"attribute holds the values of the interpolations:"
msgstr ""

msgid ""
"The :attr:`!strings` tuple has one more element than :attr:`!interpolations` "
"and :attr:`!values`; the interpolations “belong” between the strings. This "
"may be easier to understand when tuples are aligned"
msgstr ""

msgid ""
"template.strings:  ('Ah! We do have ',              '.')\n"
"template.values:   (                   'Camembert',    )"
msgstr ""

msgid "Attributes"
msgstr ""

msgid "A :class:`tuple` of the static strings in the template."
msgstr ""

msgid "Empty strings *are* included in the tuple:"
msgstr ""

msgid ""
"The ``strings`` tuple is never empty, and always contains one more string "
"than the ``interpolations`` and ``values`` tuples:"
msgstr ""

msgid "A :class:`tuple` of the interpolations in the template."
msgstr ""

msgid ""
"The ``interpolations`` tuple may be empty and always contains one fewer "
"values than the ``strings`` tuple:"
msgstr ""

msgid "A tuple of all interpolated values in the template."
msgstr ""

msgid ""
"The ``values`` tuple always has the same length as the ``interpolations`` "
"tuple. It is always equivalent to ``tuple(i.value for i in "
"template.interpolations)``."
msgstr ""

msgid "Methods"
msgstr "Metode-Metode"

msgid ""
"While literal syntax is the most common way to create a :class:`!Template`, "
"it is also possible to create them directly using the constructor:"
msgstr ""

msgid ""
"If multiple strings are passed consecutively, they will be concatenated into "
"a single value in the :attr:`~Template.strings` attribute. For example, the "
"following code creates a :class:`Template` with a single final string:"
msgstr ""

msgid ""
"If multiple interpolations are passed consecutively, they will be treated as "
"separate interpolations and an empty string will be inserted between them. "
"For example, the following code creates a template with empty placeholders "
"in the :attr:`~Template.strings` attribute:"
msgstr ""

msgid ""
"Iterate over the template, yielding each non-empty string "
"and :class:`Interpolation` in the correct order:"
msgstr ""

msgid "Empty strings are **not** included in the iteration:"
msgstr ""

msgid ""
"Concatenate this template with another, returning a new :class:`!Template` "
"instance:"
msgstr ""

msgid ""
"Concatenating a :class:`!Template` and a ``str`` is **not** supported. This "
"is because it is unclear whether the string should be treated as a static "
"string or an interpolation. If you want to concatenate a :class:`!Template` "
"with a string, you should either wrap the string directly in a :class:`!"
"Template` (to treat it as a static string) or use an :class:`!Interpolation` "
"(to treat it as dynamic):"
msgstr ""

msgid ""
"The :class:`!Interpolation` type represents an expression inside a template "
"string. It is immutable, meaning that attributes of an interpolation cannot "
"be reassigned."
msgstr ""

msgid ""
"Interpolations support pattern matching, allowing you to match against their "
"attributes with the :ref:`match statement <match>`:"
msgstr ""

msgid ""
"Interpolations are :ref:`generic <generics>` over the types of their values."
msgstr ""

msgid "The evaluated value of the interpolation."
msgstr ""

msgid ""
"For interpolations created by t-string literals, :attr:`!expression` is the "
"expression text found inside the curly brackets (``{`` & ``}``), including "
"any whitespace, excluding the curly brackets themselves, and ending before "
"the first ``!``, ``:``, or ``=`` if any is present. For manually created "
"interpolations, :attr:`!expression` is the arbitrary string provided when "
"constructing the interpolation instance."
msgstr ""

msgid ""
"We recommend using valid Python expressions or the empty string for the "
"``expression`` field of manually created :class:`!Interpolation` instances, "
"although this is not enforced at runtime."
msgstr ""

msgid "The conversion to apply to the value, or ``None``."
msgstr ""

msgid ""
"The :attr:`!conversion` is the optional conversion to apply to the value:"
msgstr ""

msgid ""
"Unlike f-strings, where conversions are applied automatically, the expected "
"behavior with t-strings is that code that *processes* the :class:`!Template` "
"will decide how to interpret and whether to apply the :attr:`!conversion`. "
"For convenience, the :func:`convert` function can be used to mimic f-string "
"conversion semantics."
msgstr ""

msgid "The format specification to apply to the value."
msgstr ""

msgid ""
"The :attr:`!format_spec` is an optional, arbitrary string used as the format "
"specification to present the value:"
msgstr ""

msgid ""
"Unlike f-strings, where format specifications are applied automatically via "
"the :func:`format` protocol, the expected behavior with t-strings is that "
"code that *processes* the interpolation will decide how to interpret and "
"whether to apply the format specification. As a result, :attr:`!format_spec` "
"values in interpolations can be arbitrary strings, including those that do "
"not conform to the :func:`format` protocol."
msgstr ""

msgid "Create a new :class:`!Interpolation` object from component parts."
msgstr ""

msgid "Parameters"
msgstr "Parameter"

msgid "The evaluated, in-scope result of the interpolation."
msgstr ""

msgid "The text of a valid Python expression, or an empty string."
msgstr ""

msgid ""
"The :ref:`conversion <formatstrings>` to be used, one of ``None``, ``'a'``, "
"``'r'``, or ``'s'``."
msgstr ""

msgid ""
"An optional, arbitrary string used as the :ref:`format specification "
"<formatspec>` to present the value."
msgstr ""

msgid "Helper functions"
msgstr ""

msgid ""
"Applies formatted string literal :ref:`conversion <formatstrings-"
"conversion>` semantics to the given object *obj*. This is frequently useful "
"for custom template string processing logic."
msgstr ""

msgid "Three conversion flags are currently supported:"
msgstr ""

msgid "``'s'`` which calls :func:`str` on the value (like ``!s``),"
msgstr ""

msgid "``'r'`` which calls :func:`repr` (like ``!r``), and"
msgstr ""

msgid "``'a'`` which calls :func:`ascii` (like ``!a``)."
msgstr ""

msgid "If the conversion flag is ``None``, *obj* is returned unchanged."
msgstr ""
