Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 2, 2018. It is now read-only.

Commit136831e

Browse files
committed
Update po files
1 parent7b9e55b commit136831e

File tree

5 files changed

+739
-710
lines changed

5 files changed

+739
-710
lines changed

‎c-api/contextvars.po

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ msgstr ""
1212
"PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator:FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team:LANGUAGE <LL@li.org>\n"
15+
"Language:\n"
1516
"MIME-Version:1.0\n"
1617
"Content-Type:text/plain; charset=UTF-8\n"
1718
"Content-Transfer-Encoding:8bit\n"

‎library/contextvars.po

Lines changed: 37 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version:Python 3.7\n"
1010
"Report-Msgid-Bugs-To:\n"
11-
"POT-Creation-Date:2018-06-26 18:54+0800\n"
11+
"POT-Creation-Date:2018-07-01 16:27+0800\n"
1212
"PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator:FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team:LANGUAGE <LL@li.org>\n"
15+
"Language:\n"
1516
"MIME-Version:1.0\n"
1617
"Content-Type:text/plain; charset=UTF-8\n"
1718
"Content-Transfer-Encoding:8bit\n"
@@ -72,183 +73,183 @@ msgstr ""
7273
msgid"The name of the variable. This is a read-only property."
7374
msgstr""
7475

75-
#:../../library/contextvars.rst:53
76+
#:../../library/contextvars.rst:55
7677
msgid"Return a value for the context variable for the current context."
7778
msgstr""
7879

79-
#:../../library/contextvars.rst:55
80+
#:../../library/contextvars.rst:57
8081
msgid""
8182
"If there is no value for the variable in the current context, the method "
8283
"will:"
8384
msgstr""
8485

85-
#:../../library/contextvars.rst:58
86+
#:../../library/contextvars.rst:60
8687
msgid""
8788
"return the value of the *default* argument of the method, if provided; or"
8889
msgstr""
8990

90-
#:../../library/contextvars.rst:61
91+
#:../../library/contextvars.rst:63
9192
msgid""
9293
"return the default value for the context variable, if it was created with "
9394
"one; or"
9495
msgstr""
9596

96-
#:../../library/contextvars.rst:64
97+
#:../../library/contextvars.rst:66
9798
msgid"raise a :exc:`LookupError`."
9899
msgstr""
99100

100-
#:../../library/contextvars.rst:68
101+
#:../../library/contextvars.rst:70
101102
msgid""
102103
"Call to set a new value for the context variable in the current context."
103104
msgstr""
104105

105-
#:../../library/contextvars.rst:71
106+
#:../../library/contextvars.rst:73
106107
msgid""
107108
"The required *value* argument is the new value for the context variable."
108109
msgstr""
109110

110-
#:../../library/contextvars.rst:74
111+
#:../../library/contextvars.rst:76
111112
msgid""
112113
"Returns a :class:`~contextvars.Token` object that can be used to restore the "
113114
"variable to its previous value via the :meth:`ContextVar.reset` method."
114115
msgstr""
115116

116-
#:../../library/contextvars.rst:80
117+
#:../../library/contextvars.rst:82
117118
msgid""
118119
"Reset the context variable to the value it had before the :meth:`ContextVar."
119120
"set` that created the *token* was used."
120121
msgstr""
121122

122-
#:../../library/contextvars.rst:83
123+
#:../../library/contextvars.rst:85
123124
msgid"For example::"
124125
msgstr""
125126

126-
#:../../library/contextvars.rst:97
127+
#:../../library/contextvars.rst:99
127128
msgid""
128129
"*Token* objects are returned by the :meth:`ContextVar.set` method. They can "
129130
"be passed to the :meth:`ContextVar.reset` method to revert the value of the "
130131
"variable to what it was before the corresponding *set*."
131132
msgstr""
132133

133-
#:../../library/contextvars.rst:104
134+
#:../../library/contextvars.rst:106
134135
msgid""
135136
"A read-only property. Points to the :class:`ContextVar` object that created "
136137
"the token."
137138
msgstr""
138139

139-
#:../../library/contextvars.rst:109
140+
#:../../library/contextvars.rst:111
140141
msgid""
141142
"A read-only property. Set to the value the variable had before the :meth:"
142143
"`ContextVar.set` method call that created the token. It points to :attr:"
143144
"`Token.MISSING` is the variable was not set before the call."
144145
msgstr""
145146

146-
#:../../library/contextvars.rst:116
147+
#:../../library/contextvars.rst:118
147148
msgid"A marker object used by :attr:`Token.old_value`."
148149
msgstr""
149150

150-
#:../../library/contextvars.rst:120
151+
#:../../library/contextvars.rst:122
151152
msgid"Manual Context Management"
152153
msgstr""
153154

154-
#:../../library/contextvars.rst:124
155+
#:../../library/contextvars.rst:126
155156
msgid"Returns a copy of the current :class:`~contextvars.Context` object."
156157
msgstr""
157158

158-
#:../../library/contextvars.rst:126
159+
#:../../library/contextvars.rst:128
159160
msgid""
160161
"The following snippet gets a copy of the current context and prints all "
161162
"variables and their values that are set in it::"
162163
msgstr""
163164

164-
#:../../library/contextvars.rst:132
165+
#:../../library/contextvars.rst:134
165166
msgid""
166167
"The function has an O(1) complexity, i.e. works equally fast for contexts "
167168
"with a few context variables and for contexts that have a lot of them."
168169
msgstr""
169170

170-
#:../../library/contextvars.rst:139
171+
#:../../library/contextvars.rst:141
171172
msgid"A mapping of :class:`ContextVars <ContextVar>` to their values."
172173
msgstr""
173174

174-
#:../../library/contextvars.rst:141
175+
#:../../library/contextvars.rst:143
175176
msgid""
176177
"``Context()`` creates an empty context with no values in it. To get a copy "
177178
"of the current context use the :func:`~contextvars.copy_context` function."
178179
msgstr""
179180

180-
#:../../library/contextvars.rst:145
181+
#:../../library/contextvars.rst:147
181182
msgid"Context implements the :class:`collections.abc.Mapping` interface."
182183
msgstr""
183184

184-
#:../../library/contextvars.rst:149
185+
#:../../library/contextvars.rst:151
185186
msgid""
186187
"Execute ``callable(*args, **kwargs)`` code in the context object the *run* "
187188
"method is called on. Return the result of the execution or propagate an "
188189
"exception if one occurred."
189190
msgstr""
190191

191-
#:../../library/contextvars.rst:153
192+
#:../../library/contextvars.rst:155
192193
msgid""
193194
"Any changes to any context variables that *callable* makes will be contained "
194195
"in the context object::"
195196
msgstr""
196197

197-
#:../../library/contextvars.rst:182
198+
#:../../library/contextvars.rst:184
198199
msgid""
199200
"The method raises a :exc:`RuntimeError` when called on the same context "
200201
"object from more than one OS thread, or when called recursively."
201202
msgstr""
202203

203-
#:../../library/contextvars.rst:188
204+
#:../../library/contextvars.rst:190
204205
msgid"Return a shallow copy of the context object."
205206
msgstr""
206207

207-
#:../../library/contextvars.rst:192
208+
#:../../library/contextvars.rst:194
208209
msgid""
209210
"Return ``True`` if the *context* has a value for *var* set; return ``False`` "
210211
"otherwise."
211212
msgstr""
212213

213-
#:../../library/contextvars.rst:197
214+
#:../../library/contextvars.rst:199
214215
msgid""
215216
"Return the value of the *var* :class:`ContextVar` variable. If the variable "
216217
"is not set in the context object, a :exc:`KeyError` is raised."
217218
msgstr""
218219

219-
#:../../library/contextvars.rst:203
220+
#:../../library/contextvars.rst:205
220221
msgid""
221222
"Return the value for *var* if *var* has the value in the context object. "
222223
"Return *default* otherwise. If *default* is not given, return ``None``."
223224
msgstr""
224225

225-
#:../../library/contextvars.rst:209
226+
#:../../library/contextvars.rst:211
226227
msgid"Return an iterator over the variables stored in the context object."
227228
msgstr""
228229

229-
#:../../library/contextvars.rst:214
230+
#:../../library/contextvars.rst:216
230231
msgid"Return the number of variables set in the context object."
231232
msgstr""
232233

233-
#:../../library/contextvars.rst:218
234+
#:../../library/contextvars.rst:220
234235
msgid"Return a list of all variables in the context object."
235236
msgstr""
236237

237-
#:../../library/contextvars.rst:222
238+
#:../../library/contextvars.rst:224
238239
msgid"Return a list of all variables' values in the context object."
239240
msgstr""
240241

241-
#:../../library/contextvars.rst:227
242+
#:../../library/contextvars.rst:229
242243
msgid""
243244
"Return a list of 2-tuples containing all variables and their values in the "
244245
"context object."
245246
msgstr""
246247

247-
#:../../library/contextvars.rst:232
248+
#:../../library/contextvars.rst:234
248249
msgid"asyncio support"
249250
msgstr""
250251

251-
#:../../library/contextvars.rst:234
252+
#:../../library/contextvars.rst:236
252253
msgid""
253254
"Context variables are natively supported in :mod:`asyncio` and are ready to "
254255
"be used without any extra configuration. For example, here is a simple echo "

‎library/dataclasses.po

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ msgstr ""
1212
"PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator:FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team:LANGUAGE <LL@li.org>\n"
15+
"Language:\n"
1516
"MIME-Version:1.0\n"
1617
"Content-Type:text/plain; charset=UTF-8\n"
1718
"Content-Transfer-Encoding:8bit\n"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp