Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 547b649

Browse files
committed
[po] auto sync bot
1 parent 8a6f5e4 commit 547b649

4 files changed

Lines changed: 4583 additions & 0 deletions

File tree

c-api/contextvars.po

Lines changed: 171 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2001-2018, Python Software Foundation
3+
# This file is distributed under the same license as the Python package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: Python 3.7\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
14+
"MIME-Version: 1.0\n"
15+
"Content-Type: text/plain; charset=UTF-8\n"
16+
"Content-Transfer-Encoding: 8bit\n"
17+
"Language: zh_CN\n"
18+
"Plural-Forms: nplurals=1; plural=0;\n"
19+
20+
#: ../../c-api/contextvars.rst:6
21+
msgid "Context Variables Objects"
22+
msgstr ""
23+
24+
#: ../../c-api/contextvars.rst:10
25+
msgid ""
26+
"This section details the public C API for the :mod:`contextvars` module."
27+
msgstr ""
28+
29+
#: ../../c-api/contextvars.rst:14
30+
msgid ""
31+
"The C structure used to represent a :class:`contextvars.Context` object."
32+
msgstr ""
33+
34+
#: ../../c-api/contextvars.rst:19
35+
msgid ""
36+
"The C structure used to represent a :class:`contextvars.ContextVar` object."
37+
msgstr ""
38+
39+
#: ../../c-api/contextvars.rst:24
40+
msgid "The C structure used to represent a :class:`contextvars.Token` object."
41+
msgstr ""
42+
43+
#: ../../c-api/contextvars.rst:28
44+
msgid "The type object representing the *context* type."
45+
msgstr ""
46+
47+
#: ../../c-api/contextvars.rst:32
48+
msgid "The type object representing the *context variable* type."
49+
msgstr ""
50+
51+
#: ../../c-api/contextvars.rst:36
52+
msgid "The type object representing the *context variable token* type."
53+
msgstr ""
54+
55+
#: ../../c-api/contextvars.rst:39
56+
msgid "Type-check macros:"
57+
msgstr ""
58+
59+
#: ../../c-api/contextvars.rst:43
60+
msgid ""
61+
"Return true if *o* is of type :c:data:`PyContext_Type`. *o* must not be "
62+
"*NULL*. This function always succeeds."
63+
msgstr ""
64+
65+
#: ../../c-api/contextvars.rst:48
66+
msgid ""
67+
"Return true if *o* is of type :c:data:`PyContextVar_Type`. *o* must not be "
68+
"*NULL*. This function always succeeds."
69+
msgstr ""
70+
71+
#: ../../c-api/contextvars.rst:53
72+
msgid ""
73+
"Return true if *o* is of type :c:data:`PyContextToken_Type`. *o* must not be"
74+
" *NULL*. This function always succeeds."
75+
msgstr ""
76+
77+
#: ../../c-api/contextvars.rst:57
78+
msgid "Context object management functions:"
79+
msgstr ""
80+
81+
#: ../../c-api/contextvars.rst:61
82+
msgid ""
83+
"Create a new empty context object. Returns ``NULL`` if an error has "
84+
"occurred."
85+
msgstr ""
86+
87+
#: ../../c-api/contextvars.rst:66
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+
#: ../../c-api/contextvars.rst:71
94+
msgid ""
95+
"Create a shallow copy of the current thread context. Returns ``NULL`` if an "
96+
"error has occurred."
97+
msgstr ""
98+
99+
#: ../../c-api/contextvars.rst:76
100+
msgid ""
101+
"Set *ctx* as the current context for the current thread. Returns ``0`` on "
102+
"success, and ``-1`` on error."
103+
msgstr ""
104+
105+
#: ../../c-api/contextvars.rst:81
106+
msgid ""
107+
"Deactivate the *ctx* context and restore the previous context as the current"
108+
" context for the current thread. Returns ``0`` on success, and ``-1`` on "
109+
"error."
110+
msgstr ""
111+
112+
#: ../../c-api/contextvars.rst:87
113+
msgid ""
114+
"Clear the context variable free list. Return the total number of freed "
115+
"items. This function always succeeds."
116+
msgstr ""
117+
118+
#: ../../c-api/contextvars.rst:91
119+
msgid "Context variable functions:"
120+
msgstr ""
121+
122+
#: ../../c-api/contextvars.rst:95
123+
msgid ""
124+
"Create a new ``ContextVar`` object. The *name* parameter is used for "
125+
"introspection and debug purposes. The *def* parameter may optionally "
126+
"specify the default value for the context variable. If an error has "
127+
"occurred, this function returns ``NULL``."
128+
msgstr ""
129+
130+
#: ../../c-api/contextvars.rst:102
131+
msgid ""
132+
"Get the value of a context variable. Returns ``-1`` if an error has "
133+
"occurred during lookup, and ``0`` if no error occurred, whether or not a "
134+
"value was found."
135+
msgstr ""
136+
137+
#: ../../c-api/contextvars.rst:106
138+
msgid ""
139+
"If the context variable was found, *value* will be a pointer to it. If the "
140+
"context variable was *not* found, *value* will point to:"
141+
msgstr ""
142+
143+
#: ../../c-api/contextvars.rst:109
144+
msgid "*default_value*, if not ``NULL``;"
145+
msgstr ""
146+
147+
#: ../../c-api/contextvars.rst:110
148+
msgid "the default value of *var*, if not ``NULL``;"
149+
msgstr ""
150+
151+
#: ../../c-api/contextvars.rst:111
152+
msgid "``NULL``"
153+
msgstr ""
154+
155+
#: ../../c-api/contextvars.rst:113
156+
msgid ""
157+
"If the value was found, the function will create a new reference to it."
158+
msgstr ""
159+
160+
#: ../../c-api/contextvars.rst:117
161+
msgid ""
162+
"Set the value of *var* to *value* in the current context. Returns a pointer"
163+
" to a :c:type:`PyContextToken` object, or ``NULL`` if an error has occurred."
164+
msgstr ""
165+
166+
#: ../../c-api/contextvars.rst:123
167+
msgid ""
168+
"Reset the state of the *var* context variable to that it was in before "
169+
":c:func:`PyContextVar_Set` that returned the *token* was called. This "
170+
"function returns ``0`` on success and ``-1`` on error."
171+
msgstr ""

0 commit comments

Comments
 (0)