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

Skip to content

Commit 6788cbc

Browse files
Sync with CPython 3.10 (#166)
* sync with cpython 14f03ce6 * sync with cpython 99c72326 * sync with cpython 0f21bac6 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 5ce8976 commit 6788cbc

File tree

7 files changed

+1333
-1320
lines changed

7 files changed

+1333
-1320
lines changed

howto/annotations.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.10\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2021-10-26 16:47+0000\n"
10+
"POT-Creation-Date: 2021-12-11 00:08+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -219,7 +219,7 @@ msgstr ""
219219

220220
#: ../../howto/annotations.rst:159
221221
msgid ""
222-
":pep:`604` union types using `|`, before support for this was added to "
222+
":pep:`604` union types using ``|``, before support for this was added to "
223223
"Python 3.10."
224224
msgstr ""
225225

library/dis.po

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.10\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2021-10-26 16:47+0000\n"
11+
"POT-Creation-Date: 2021-12-08 16:23+0000\n"
1212
"PO-Revision-Date: 2018-07-27 16:55+0800\n"
1313
"Last-Translator: Adrian Liaw <[email protected]>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1228,81 +1228,80 @@ msgstr ""
12281228

12291229
#: ../../library/dis.rst:1255
12301230
msgid ""
1231-
"Pops TOS. If TOS was not ``None``, raises an exception. The ``kind`` operand "
1232-
"corresponds to the type of generator or coroutine and determines the error "
1233-
"message. The legal kinds are 0 for generator, 1 for coroutine, and 2 for "
1231+
"Pops TOS. The ``kind`` operand corresponds to the type of generator or "
1232+
"coroutine. The legal kinds are 0 for generator, 1 for coroutine, and 2 for "
12341233
"async generator."
12351234
msgstr ""
12361235

1237-
#: ../../library/dis.rst:1265
1236+
#: ../../library/dis.rst:1264
12381237
msgid ""
12391238
"Lift the top *count* stack items one position up, and move TOS down to "
12401239
"position *count*."
12411240
msgstr ""
12421241

1243-
#: ../../library/dis.rst:1273
1242+
#: ../../library/dis.rst:1272
12441243
msgid ""
12451244
"This is not really an opcode. It identifies the dividing line between "
12461245
"opcodes which don't use their argument and those that do (``< "
12471246
"HAVE_ARGUMENT`` and ``>= HAVE_ARGUMENT``, respectively)."
12481247
msgstr ""
12491248

1250-
#: ../../library/dis.rst:1277
1249+
#: ../../library/dis.rst:1276
12511250
msgid ""
12521251
"Now every instruction has an argument, but opcodes ``< HAVE_ARGUMENT`` "
12531252
"ignore it. Before, only opcodes ``>= HAVE_ARGUMENT`` had an argument."
12541253
msgstr ""
12551254

1256-
#: ../../library/dis.rst:1285
1255+
#: ../../library/dis.rst:1284
12571256
msgid "Opcode collections"
12581257
msgstr ""
12591258

1260-
#: ../../library/dis.rst:1287
1259+
#: ../../library/dis.rst:1286
12611260
msgid ""
12621261
"These collections are provided for automatic introspection of bytecode "
12631262
"instructions:"
12641263
msgstr ""
12651264

1266-
#: ../../library/dis.rst:1292
1265+
#: ../../library/dis.rst:1291
12671266
msgid "Sequence of operation names, indexable using the bytecode."
12681267
msgstr ""
12691268

1270-
#: ../../library/dis.rst:1297
1269+
#: ../../library/dis.rst:1296
12711270
msgid "Dictionary mapping operation names to bytecodes."
12721271
msgstr ""
12731272

1274-
#: ../../library/dis.rst:1302
1273+
#: ../../library/dis.rst:1301
12751274
msgid "Sequence of all compare operation names."
12761275
msgstr ""
12771276

1278-
#: ../../library/dis.rst:1307
1277+
#: ../../library/dis.rst:1306
12791278
msgid "Sequence of bytecodes that access a constant."
12801279
msgstr ""
12811280

1282-
#: ../../library/dis.rst:1312
1281+
#: ../../library/dis.rst:1311
12831282
msgid ""
12841283
"Sequence of bytecodes that access a free variable (note that 'free' in this "
12851284
"context refers to names in the current scope that are referenced by inner "
12861285
"scopes or names in outer scopes that are referenced from this scope. It "
12871286
"does *not* include references to global or builtin scopes)."
12881287
msgstr ""
12891288

1290-
#: ../../library/dis.rst:1320
1289+
#: ../../library/dis.rst:1319
12911290
msgid "Sequence of bytecodes that access an attribute by name."
12921291
msgstr ""
12931292

1294-
#: ../../library/dis.rst:1325
1293+
#: ../../library/dis.rst:1324
12951294
msgid "Sequence of bytecodes that have a relative jump target."
12961295
msgstr ""
12971296

1298-
#: ../../library/dis.rst:1330
1297+
#: ../../library/dis.rst:1329
12991298
msgid "Sequence of bytecodes that have an absolute jump target."
13001299
msgstr ""
13011300

1302-
#: ../../library/dis.rst:1335
1301+
#: ../../library/dis.rst:1334
13031302
msgid "Sequence of bytecodes that access a local variable."
13041303
msgstr ""
13051304

1306-
#: ../../library/dis.rst:1340
1305+
#: ../../library/dis.rst:1339
13071306
msgid "Sequence of bytecodes of Boolean operations."
13081307
msgstr ""

library/json.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.10\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2021-10-12 19:07+0000\n"
11+
"POT-Creation-Date: 2021-12-07 18:17+0000\n"
1212
"PO-Revision-Date: 2018-05-23 16:04+0000\n"
1313
"Last-Translator: Adrian Liaw <[email protected]>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -133,7 +133,7 @@ msgstr ""
133133
msgid ""
134134
"If *check_circular* is false (default: ``True``), then the circular "
135135
"reference check for container types will be skipped and a circular reference "
136-
"will result in an :exc:`OverflowError` (or worse)."
136+
"will result in an :exc:`RecursionError` (or worse)."
137137
msgstr ""
138138

139139
#: ../../library/json.rst:164
@@ -504,7 +504,7 @@ msgstr ""
504504
msgid ""
505505
"If *check_circular* is true (the default), then lists, dicts, and custom "
506506
"encoded objects will be checked for circular references during encoding to "
507-
"prevent an infinite recursion (which would cause an :exc:`OverflowError`). "
507+
"prevent an infinite recursion (which would cause an :exc:`RecursionError`). "
508508
"Otherwise, no such check takes place."
509509
msgstr ""
510510

0 commit comments

Comments
 (0)