7
7
msgstr ""
8
8
"Project-Id-Version :Python 3.11\n "
9
9
"Report-Msgid-Bugs-To :\n "
10
- "POT-Creation-Date :2022-10-02 00:25 +0000\n "
10
+ "POT-Creation-Date :2023-01-09 00:17 +0000\n "
11
11
"PO-Revision-Date :2018-05-23 16:07+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- "
@@ -99,11 +99,11 @@ msgstr ""
99
99
#: ../../library/os.path.rst:235 ../../library/os.path.rst:245
100
100
#: ../../library/os.path.rst:255 ../../library/os.path.rst:265
101
101
#: ../../library/os.path.rst:275 ../../library/os.path.rst:294
102
- #: ../../library/os.path.rst:324 ../../library/os.path.rst:344
103
- #: ../../library/os.path.rst:367 ../../library/os.path.rst:389
104
- #: ../../library/os.path.rst:407 ../../library/os.path.rst:420
105
- #: ../../library/os.path.rst:436 ../../library/os.path.rst:452
106
- #: ../../library/os.path.rst:477 ../../library/os.path.rst:508
102
+ #: ../../library/os.path.rst:325 ../../library/os.path.rst:345
103
+ #: ../../library/os.path.rst:368 ../../library/os.path.rst:390
104
+ #: ../../library/os.path.rst:408 ../../library/os.path.rst:421
105
+ #: ../../library/os.path.rst:437 ../../library/os.path.rst:453
106
+ #: ../../library/os.path.rst:478 ../../library/os.path.rst:509
107
107
msgid "Accepts a :term:`path-like object`."
108
108
msgstr ""
109
109
@@ -124,9 +124,9 @@ msgid ""
124
124
"empty. Unlike :func:`commonprefix`, this returns a valid path."
125
125
msgstr ""
126
126
127
- #: ../../library/os.path.rst:89 ../../library/os.path.rst:388
128
- #: ../../library/os.path.rst:400 ../../library/os.path.rst:416
129
- #: ../../library/os.path.rst:432
127
+ #: ../../library/os.path.rst:89 ../../library/os.path.rst:389
128
+ #: ../../library/os.path.rst:401 ../../library/os.path.rst:417
129
+ #: ../../library/os.path.rst:433
130
130
msgid ":ref:`Availability <availability>`: Unix, Windows."
131
131
msgstr ":ref:`適用 <availability>`:Unix、Windows。"
132
132
@@ -300,36 +300,37 @@ msgstr ""
300
300
301
301
#: ../../library/os.path.rst:300
302
302
msgid ""
303
- "Join one or more path components intelligently. The return value is the "
304
- "concatenation of *path* and any members of *\\ *paths* with exactly one "
305
- "directory separator following each non-empty part except the last, meaning "
306
- "that the result will only end in a separator if the last part is empty. If "
307
- "a component is an absolute path, all previous components are thrown away and "
308
- "joining continues from the absolute path component."
303
+ "Join one or more path segments intelligently. The return value is the "
304
+ "concatenation of *path* and all members of *\\ *paths*, with exactly one "
305
+ "directory separator following each non-empty part except the last. That is, "
306
+ "if the last part is empty, the result will end in a separator. If a segment "
307
+ "is an absolute path (which on Windows requires both a drive and a root), "
308
+ "then all previous segments are ignored and joining continues from the "
309
+ "absolute path segment."
309
310
msgstr ""
310
311
311
- #: ../../library/os.path.rst:307
312
+ #: ../../library/os.path.rst:308
312
313
msgid ""
313
- "On Windows, the driveletter is not reset whenan absolute pathcomponent (e."
314
- "g., ``r'\\ foo'``) is encountered. If acomponent contains a driveletter, "
315
- "all previouscomponents arethrown away and the driveletter is reset. Note "
316
- "that since there is a current directory for each drive, ``os.path.join( \" c: "
317
- "\" ,\" foo\" )`` represents a path relative to the current directoryon drive : "
318
- "file:`C:` (:file:`c:foo`), not :file:`c:\\\\ foo`."
314
+ "On Windows, the drive is not reset whena rooted pathsegment (e.g., "
315
+ "``r'\\ foo'``) is encountered. If asegment is on a different driveor is an "
316
+ "absolute path, all previoussegments areignored and the drive is reset. "
317
+ "Note that since there is a current directory for each drive, ``os.path."
318
+ "join( \" c: \" ,\" foo\" )`` represents a path relative to the current directory "
319
+ "on drive : file:`C:` (:file:`c:foo`), not :file:`c:\\\\ foo`."
319
320
msgstr ""
320
321
321
- #: ../../library/os.path.rst:314
322
+ #: ../../library/os.path.rst:315
322
323
msgid "Accepts a :term:`path-like object` for *path* and *paths*."
323
324
msgstr ""
324
325
325
- #: ../../library/os.path.rst:320
326
+ #: ../../library/os.path.rst:321
326
327
msgid ""
327
328
"Normalize the case of a pathname. On Windows, convert all characters in the "
328
329
"pathname to lowercase, and also convert forward slashes to backward slashes. "
329
330
"On other operating systems, return the path unchanged."
330
331
msgstr ""
331
332
332
- #: ../../library/os.path.rst:330
333
+ #: ../../library/os.path.rst:331
333
334
msgid ""
334
335
"Normalize a pathname by collapsing redundant separators and up-level "
335
336
"references so that ``A//B``, ``A/B/``, ``A/./B`` and ``A/foo/../B`` all "
@@ -338,7 +339,7 @@ msgid ""
338
339
"backward slashes. To normalize case, use :func:`normcase`."
339
340
msgstr ""
340
341
341
- #: ../../library/os.path.rst:337
342
+ #: ../../library/os.path.rst:338
342
343
msgid ""
343
344
"On POSIX systems, in accordance with `IEEE Std 1003.1 2013 Edition; 4.13 "
344
345
"Pathname Resolution <https://pubs.opengroup.org/onlinepubs/9699919799/"
@@ -348,43 +349,43 @@ msgid ""
348
349
"leading characters shall be treated as a single character."
349
350
msgstr ""
350
351
351
- #: ../../library/os.path.rst:350
352
+ #: ../../library/os.path.rst:351
352
353
msgid ""
353
354
"Return the canonical path of the specified filename, eliminating any "
354
355
"symbolic links encountered in the path (if they are supported by the "
355
356
"operating system)."
356
357
msgstr ""
357
358
358
- #: ../../library/os.path.rst:354
359
+ #: ../../library/os.path.rst:355
359
360
msgid ""
360
361
"If a path doesn't exist or a symlink loop is encountered, and *strict* is "
361
362
"``True``, :exc:`OSError` is raised. If *strict* is ``False``, the path is "
362
363
"resolved as far as possible and any remainder is appended without checking "
363
364
"whether it exists."
364
365
msgstr ""
365
366
366
- #: ../../library/os.path.rst:360
367
+ #: ../../library/os.path.rst:361
367
368
msgid ""
368
369
"This function emulates the operating system's procedure for making a path "
369
370
"canonical, which differs slightly between Windows and UNIX with respect to "
370
371
"how links and subsequent path components interact."
371
372
msgstr ""
372
373
373
- #: ../../library/os.path.rst:364
374
+ #: ../../library/os.path.rst:365
374
375
msgid ""
375
376
"Operating system APIs make paths canonical as needed, so it's not normally "
376
377
"necessary to call this function."
377
378
msgstr ""
378
379
379
- #: ../../library/os.path.rst:370
380
+ #: ../../library/os.path.rst:371
380
381
msgid "Symbolic links and junctions are now resolved on Windows."
381
382
msgstr ""
382
383
383
- #: ../../library/os.path.rst:373
384
+ #: ../../library/os.path.rst:374
384
385
msgid "The *strict* parameter was added."
385
386
msgstr "新增 *strict* 參數。"
386
387
387
- #: ../../library/os.path.rst:379
388
+ #: ../../library/os.path.rst:380
388
389
msgid ""
389
390
"Return a relative filepath to *path* either from the current directory or "
390
391
"from an optional *start* directory. This is a path computation: the "
@@ -393,41 +394,41 @@ msgid ""
393
394
"are on different drives."
394
395
msgstr ""
395
396
396
- #: ../../library/os.path.rst:385
397
+ #: ../../library/os.path.rst:386
397
398
msgid "*start* defaults to :attr:`os.curdir`."
398
399
msgstr ""
399
400
400
- #: ../../library/os.path.rst:395
401
+ #: ../../library/os.path.rst:396
401
402
msgid ""
402
403
"Return ``True`` if both pathname arguments refer to the same file or "
403
404
"directory. This is determined by the device number and i-node number and "
404
405
"raises an exception if an :func:`os.stat` call on either pathname fails."
405
406
msgstr ""
406
407
407
- #: ../../library/os.path.rst:401 ../../library/os.path.rst:417
408
- #: ../../library/os.path.rst:433
408
+ #: ../../library/os.path.rst:402 ../../library/os.path.rst:418
409
+ #: ../../library/os.path.rst:434
409
410
msgid "Added Windows support."
410
411
msgstr "新增對 Windows 的支援。"
411
412
412
- #: ../../library/os.path.rst:404
413
+ #: ../../library/os.path.rst:405
413
414
msgid "Windows now uses the same implementation as all other platforms."
414
415
msgstr ""
415
416
416
- #: ../../library/os.path.rst:413
417
+ #: ../../library/os.path.rst:414
417
418
msgid ""
418
419
"Return ``True`` if the file descriptors *fp1* and *fp2* refer to the same "
419
420
"file."
420
421
msgstr ""
421
422
422
- #: ../../library/os.path.rst:426
423
+ #: ../../library/os.path.rst:427
423
424
msgid ""
424
425
"Return ``True`` if the stat tuples *stat1* and *stat2* refer to the same "
425
426
"file. These structures may have been returned by :func:`os.fstat`, :func:`os."
426
427
"lstat`, or :func:`os.stat`. This function implements the underlying "
427
428
"comparison used by :func:`samefile` and :func:`sameopenfile`."
428
429
msgstr ""
429
430
430
- #: ../../library/os.path.rst:442
431
+ #: ../../library/os.path.rst:443
431
432
msgid ""
432
433
"Split the pathname *path* into a pair, ``(head, tail)`` where *tail* is the "
433
434
"last pathname component and *head* is everything leading up to that. The "
@@ -440,55 +441,55 @@ msgid ""
440
441
"and :func:`basename`."
441
442
msgstr ""
442
443
443
- #: ../../library/os.path.rst:458
444
+ #: ../../library/os.path.rst:459
444
445
msgid ""
445
446
"Split the pathname *path* into a pair ``(drive, tail)`` where *drive* is "
446
447
"either a mount point or the empty string. On systems which do not use drive "
447
448
"specifications, *drive* will always be the empty string. In all cases, "
448
449
"``drive + tail`` will be the same as *path*."
449
450
msgstr ""
450
451
451
- #: ../../library/os.path.rst:463
452
+ #: ../../library/os.path.rst:464
452
453
msgid ""
453
454
"On Windows, splits a pathname into drive/UNC sharepoint and relative path."
454
455
msgstr ""
455
456
456
- #: ../../library/os.path.rst:465
457
+ #: ../../library/os.path.rst:466
457
458
msgid ""
458
459
"If the path contains a drive letter, drive will contain everything up to and "
459
460
"including the colon::"
460
461
msgstr ""
461
462
462
- #: ../../library/os.path.rst:471
463
+ #: ../../library/os.path.rst:472
463
464
msgid ""
464
465
"If the path contains a UNC path, drive will contain the host name and share, "
465
466
"up to but not including the fourth separator::"
466
467
msgstr ""
467
468
468
- #: ../../library/os.path.rst:483
469
+ #: ../../library/os.path.rst:484
469
470
msgid ""
470
471
"Split the pathname *path* into a pair ``(root, ext)`` such that ``root + "
471
472
"ext == path``, and the extension, *ext*, is empty or begins with a period "
472
473
"and contains at most one period."
473
474
msgstr ""
474
475
475
- #: ../../library/os.path.rst:487
476
+ #: ../../library/os.path.rst:488
476
477
msgid "If the path contains no extension, *ext* will be ``''``::"
477
478
msgstr ""
478
479
479
- #: ../../library/os.path.rst:492
480
+ #: ../../library/os.path.rst:493
480
481
msgid ""
481
482
"If the path contains an extension, then *ext* will be set to this extension, "
482
483
"including the leading period. Note that previous periods will be ignored::"
483
484
msgstr ""
484
485
485
- #: ../../library/os.path.rst:500
486
+ #: ../../library/os.path.rst:501
486
487
msgid ""
487
488
"Leading periods of the last component of the path are considered to be part "
488
489
"of the root::"
489
490
msgstr ""
490
491
491
- #: ../../library/os.path.rst:514
492
+ #: ../../library/os.path.rst:515
492
493
msgid ""
493
494
"``True`` if arbitrary Unicode strings can be used as file names (within "
494
495
"limitations imposed by the file system)."