|
| 1 | +# SOME DESCRIPTIVE TITLE. |
| 2 | +# Copyright (C) 2001-2024, Python Software Foundation |
| 3 | +# This file is distributed under the same license as the Python package. |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 | +# |
| 6 | +# Translators: |
| 7 | +# Rafael Fontenelle <rffontenelle@gmail.com>, 2024 |
| 8 | +# |
| 9 | +#, fuzzy |
| 10 | +msgid "" |
| 11 | +msgstr "" |
| 12 | +"Project-Id-Version: Python 3.11\n" |
| 13 | +"Report-Msgid-Bugs-To: \n" |
| 14 | +"POT-Creation-Date: 2024-12-13 15:30+0000\n" |
| 15 | +"PO-Revision-Date: 2023-05-24 02:08+0000\n" |
| 16 | +"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n" |
| 17 | +"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" |
| 18 | +"MIME-Version: 1.0\n" |
| 19 | +"Content-Type: text/plain; charset=UTF-8\n" |
| 20 | +"Content-Transfer-Encoding: 8bit\n" |
| 21 | +"Language: pl\n" |
| 22 | +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && " |
| 23 | +"(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && " |
| 24 | +"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" |
| 25 | + |
| 26 | +msgid "Context Variables Objects" |
| 27 | +msgstr "" |
| 28 | + |
| 29 | +msgid "" |
| 30 | +"In Python 3.7.1 the signatures of all context variables C APIs were " |
| 31 | +"**changed** to use :c:type:`PyObject` pointers instead of :c:type:" |
| 32 | +"`PyContext`, :c:type:`PyContextVar`, and :c:type:`PyContextToken`, e.g.::" |
| 33 | +msgstr "" |
| 34 | + |
| 35 | +msgid "See :issue:`34762` for more details." |
| 36 | +msgstr "" |
| 37 | + |
| 38 | +msgid "" |
| 39 | +"This section details the public C API for the :mod:`contextvars` module." |
| 40 | +msgstr "" |
| 41 | + |
| 42 | +msgid "" |
| 43 | +"The C structure used to represent a :class:`contextvars.Context` object." |
| 44 | +msgstr "" |
| 45 | + |
| 46 | +msgid "" |
| 47 | +"The C structure used to represent a :class:`contextvars.ContextVar` object." |
| 48 | +msgstr "" |
| 49 | + |
| 50 | +msgid "The C structure used to represent a :class:`contextvars.Token` object." |
| 51 | +msgstr "" |
| 52 | + |
| 53 | +msgid "The type object representing the *context* type." |
| 54 | +msgstr "" |
| 55 | + |
| 56 | +msgid "The type object representing the *context variable* type." |
| 57 | +msgstr "" |
| 58 | + |
| 59 | +msgid "The type object representing the *context variable token* type." |
| 60 | +msgstr "" |
| 61 | + |
| 62 | +msgid "Type-check macros:" |
| 63 | +msgstr "" |
| 64 | + |
| 65 | +msgid "" |
| 66 | +"Return true if *o* is of type :c:data:`PyContext_Type`. *o* must not be " |
| 67 | +"``NULL``. This function always succeeds." |
| 68 | +msgstr "" |
| 69 | + |
| 70 | +msgid "" |
| 71 | +"Return true if *o* is of type :c:data:`PyContextVar_Type`. *o* must not be " |
| 72 | +"``NULL``. This function always succeeds." |
| 73 | +msgstr "" |
| 74 | + |
| 75 | +msgid "" |
| 76 | +"Return true if *o* is of type :c:data:`PyContextToken_Type`. *o* must not be " |
| 77 | +"``NULL``. This function always succeeds." |
| 78 | +msgstr "" |
| 79 | + |
| 80 | +msgid "Context object management functions:" |
| 81 | +msgstr "" |
| 82 | + |
| 83 | +msgid "" |
| 84 | +"Create a new empty context object. Returns ``NULL`` if an error has " |
| 85 | +"occurred." |
| 86 | +msgstr "" |
| 87 | + |
| 88 | +msgid "" |
| 89 | +"Create a shallow copy of the passed *ctx* context object. Returns ``NULL`` " |
| 90 | +"if an error has occurred." |
| 91 | +msgstr "" |
| 92 | + |
| 93 | +msgid "" |
| 94 | +"Create a shallow copy of the current thread context. Returns ``NULL`` if an " |
| 95 | +"error has occurred." |
| 96 | +msgstr "" |
| 97 | + |
| 98 | +msgid "" |
| 99 | +"Set *ctx* as the current context for the current thread. Returns ``0`` on " |
| 100 | +"success, and ``-1`` on error." |
| 101 | +msgstr "" |
| 102 | + |
| 103 | +msgid "" |
| 104 | +"Deactivate the *ctx* context and restore the previous context as the current " |
| 105 | +"context for the current thread. Returns ``0`` on success, and ``-1`` on " |
| 106 | +"error." |
| 107 | +msgstr "" |
| 108 | + |
| 109 | +msgid "Context variable functions:" |
| 110 | +msgstr "" |
| 111 | + |
| 112 | +msgid "" |
| 113 | +"Create a new ``ContextVar`` object. The *name* parameter is used for " |
| 114 | +"introspection and debug purposes. The *def* parameter specifies a default " |
| 115 | +"value for the context variable, or ``NULL`` for no default. If an error has " |
| 116 | +"occurred, this function returns ``NULL``." |
| 117 | +msgstr "" |
| 118 | + |
| 119 | +msgid "" |
| 120 | +"Get the value of a context variable. Returns ``-1`` if an error has " |
| 121 | +"occurred during lookup, and ``0`` if no error occurred, whether or not a " |
| 122 | +"value was found." |
| 123 | +msgstr "" |
| 124 | + |
| 125 | +msgid "" |
| 126 | +"If the context variable was found, *value* will be a pointer to it. If the " |
| 127 | +"context variable was *not* found, *value* will point to:" |
| 128 | +msgstr "" |
| 129 | + |
| 130 | +msgid "*default_value*, if not ``NULL``;" |
| 131 | +msgstr "" |
| 132 | + |
| 133 | +msgid "the default value of *var*, if not ``NULL``;" |
| 134 | +msgstr "" |
| 135 | + |
| 136 | +msgid "``NULL``" |
| 137 | +msgstr "``NULL``" |
| 138 | + |
| 139 | +msgid "Except for ``NULL``, the function returns a new reference." |
| 140 | +msgstr "" |
| 141 | + |
| 142 | +msgid "" |
| 143 | +"Set the value of *var* to *value* in the current context. Returns a new " |
| 144 | +"token object for this change, or ``NULL`` if an error has occurred." |
| 145 | +msgstr "" |
| 146 | + |
| 147 | +msgid "" |
| 148 | +"Reset the state of the *var* context variable to that it was in before :c:" |
| 149 | +"func:`PyContextVar_Set` that returned the *token* was called. This function " |
| 150 | +"returns ``0`` on success and ``-1`` on error." |
| 151 | +msgstr "" |
0 commit comments