7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.10\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
- "POT-Creation-Date : 2022-03-21 00:13 +0000\n "
10
+ "POT-Creation-Date : 2022-04-01 00:15 +0000\n "
11
11
"PO-Revision-Date : 2018-05-23 16:17+0000\n "
12
12
"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -3312,7 +3312,7 @@ msgid ""
3312
3312
"value, described above."
3313
3313
msgstr ""
3314
3314
3315
- #: ../../reference/datamodel.rst:2918
3315
+ #: ../../reference/datamodel.rst:2919
3316
3316
msgid ""
3317
3317
"Raises the specified exception in the coroutine. This method delegates to "
3318
3318
"the :meth:`~generator.throw` method of the iterator that caused the "
@@ -3323,7 +3323,7 @@ msgid ""
3323
3323
"not caught in the coroutine, it propagates back to the caller."
3324
3324
msgstr ""
3325
3325
3326
- #: ../../reference/datamodel.rst:2929
3326
+ #: ../../reference/datamodel.rst:2930
3327
3327
msgid ""
3328
3328
"Causes the coroutine to clean itself up and exit. If the coroutine is "
3329
3329
"suspended, this method first delegates to the :meth:`~generator.close` "
@@ -3333,115 +3333,115 @@ msgid ""
3333
3333
"is marked as having finished executing, even if it was never started."
3334
3334
msgstr ""
3335
3335
3336
- #: ../../reference/datamodel.rst:2937
3336
+ #: ../../reference/datamodel.rst:2938
3337
3337
msgid ""
3338
3338
"Coroutine objects are automatically closed using the above process when they "
3339
3339
"are about to be destroyed."
3340
3340
msgstr ""
3341
3341
3342
- #: ../../reference/datamodel.rst:2943
3342
+ #: ../../reference/datamodel.rst:2944
3343
3343
msgid "Asynchronous Iterators"
3344
3344
msgstr ""
3345
3345
3346
- #: ../../reference/datamodel.rst:2945
3346
+ #: ../../reference/datamodel.rst:2946
3347
3347
msgid ""
3348
3348
"An *asynchronous iterator* can call asynchronous code in its ``__anext__`` "
3349
3349
"method."
3350
3350
msgstr ""
3351
3351
3352
- #: ../../reference/datamodel.rst:2948
3352
+ #: ../../reference/datamodel.rst:2949
3353
3353
msgid ""
3354
3354
"Asynchronous iterators can be used in an :keyword:`async for` statement."
3355
3355
msgstr ""
3356
3356
3357
- #: ../../reference/datamodel.rst:2952
3357
+ #: ../../reference/datamodel.rst:2953
3358
3358
msgid "Must return an *asynchronous iterator* object."
3359
3359
msgstr ""
3360
3360
3361
- #: ../../reference/datamodel.rst:2956
3361
+ #: ../../reference/datamodel.rst:2957
3362
3362
msgid ""
3363
3363
"Must return an *awaitable* resulting in a next value of the iterator. "
3364
3364
"Should raise a :exc:`StopAsyncIteration` error when the iteration is over."
3365
3365
msgstr ""
3366
3366
3367
- #: ../../reference/datamodel.rst:2959
3367
+ #: ../../reference/datamodel.rst:2960
3368
3368
msgid "An example of an asynchronous iterable object::"
3369
3369
msgstr ""
3370
3370
3371
- #: ../../reference/datamodel.rst:2976
3371
+ #: ../../reference/datamodel.rst:2977
3372
3372
msgid ""
3373
3373
"Prior to Python 3.7, :meth:`~object.__aiter__` could return an *awaitable* "
3374
3374
"that would resolve to an :term:`asynchronous iterator <asynchronous "
3375
3375
"iterator>`."
3376
3376
msgstr ""
3377
3377
3378
- #: ../../reference/datamodel.rst:2981
3378
+ #: ../../reference/datamodel.rst:2982
3379
3379
msgid ""
2364
div>
3380
3380
"Starting with Python 3.7, :meth:`~object.__aiter__` must return an "
3381
3381
"asynchronous iterator object. Returning anything else will result in a :exc:"
3382
3382
"`TypeError` error."
3383
3383
msgstr ""
3384
3384
3385
- #: ../../reference/datamodel.rst:2989
3385
+ #: ../../reference/datamodel.rst:2990
3386
3386
msgid "Asynchronous Context Managers"
3387
3387
msgstr ""
3388
3388
3389
- #: ../../reference/datamodel.rst:2991
3389
+ #: ../../reference/datamodel.rst:2992
3390
3390
msgid ""
3391
3391
"An *asynchronous context manager* is a *context manager* that is able to "
3392
3392
"suspend execution in its ``__aenter__`` and ``__aexit__`` methods."
3393
3393
msgstr ""
3394
3394
3395
- #: ../../reference/datamodel.rst:2994
3395
+ #: ../../reference/datamodel.rst:2995
3396
3396
msgid ""
3397
3397
"Asynchronous context managers can be used in an :keyword:`async with` "
3398
3398
"statement."
3399
3399
msgstr ""
3400
3400
3401
- #: ../../reference/datamodel.rst:2998
3401
+ #: ../../reference/datamodel.rst:2999
3402
3402
msgid ""
3403
3403
"Semantically similar to :meth:`__enter__`, the only difference being that it "
3404
3404
"must return an *awaitable*."
3405
3405
msgstr ""
3406
3406
3407
- #: ../../reference/datamodel.rst:3003
3407
+ #: ../../reference/datamodel.rst:3004
3408
3408
msgid ""
3409
3409
"Semantically similar to :meth:`__exit__`, the only difference being that it "
3410
3410
"must return an *awaitable*."
3411
3411
msgstr ""
3412
3412
3413
- #: ../../reference/datamodel.rst:3006
3413
+ #: ../../reference/datamodel.rst:3007
3414
3414
msgid "An example of an asynchronous context manager class::"
3415
3415
msgstr ""
3416
3416
3417
- #: ../../reference/datamodel.rst:3019
3417
+ #: ../../reference/datamodel.rst:3020
3418
3418
msgid "Footnotes"
3419
3419
msgstr "註解"
3420
3420
3421
- #: ../../reference/datamodel.rst:3020
3421
+ #: ../../reference/datamodel.rst:3021
3422
3422
msgid ""
3423
3423
"It *is* possible in some cases to change an object's type, under certain "
3424
3424
"controlled conditions. It generally isn't a good idea though, since it can "
3425
3425
"lead to some very strange behaviour if it is handled incorrectly."
3426
3426
msgstr ""
3427
3427
3428
- #: ../../reference/datamodel.rst:3024
3428
+ #: ../../reference/datamodel.rst:3025
3429
3429
msgid ""
3430
3430
"The :meth:`~object.__hash__`, :meth:`~object.__iter__`, :meth:`~object."
3431
3431
"__reversed__`, and :meth:`~object.__contains__` methods have special "
3432
3432
"handling for this; others will still raise a :exc:`TypeError`, but may do so "
3433
3433
"by relying on the behavior that ``None`` is not callable."
3434
3434
msgstr ""
3435
3435
3436
- #: ../../reference/datamodel.rst:3030
3436
+ #: ../../reference/datamodel.rst:3031
3437
3437
msgid ""
3438
3438
"\" Does not support\" here means that the class has no such method, or the "
3439
3439
"method returns ``NotImplemented``. Do not set the method to ``None`` if you "
3440
3440
"want to force fallback to the right operand's reflected method—that will "
3441
3441
"instead have the opposite effect of explicitly *blocking* such fallback."
3442
3442
msgstr ""
3443
3443
3444
- #: ../../reference/datamodel.rst:3036
3444
+ #: ../../reference/datamodel.rst:3037
3445
3445
msgid ""
3446
3446
"For operands of the same type, it is assumed that if the non-reflected "
3447
3447
"method -- such as :meth:`~object.__add__` -- fails then the overall "
0 commit comments