Skip to content

Commit d648c4e

Browse files
sync with cpython 033e0f7e
1 parent 66da5ec commit d648c4e

21 files changed

+1394
-1393
lines changed

library/curses.po

Lines changed: 491 additions & 491 deletions
Large diffs are not rendered by default.

library/dbm.po

Lines changed: 61 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.14\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2026-02-12 00:19+0000\n"
10+
"POT-Creation-Date: 2026-02-20 00:18+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:42+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -83,7 +83,7 @@ msgid ""
8383
"``'dbm.gnu'``"
8484
msgstr ""
8585

86-
#: ../../library/dbm.rst:41 ../../library/dbm.rst:270 ../../library/dbm.rst:471
86+
#: ../../library/dbm.rst:41 ../../library/dbm.rst:270 ../../library/dbm.rst:472
8787
msgid "*filename* accepts a :term:`path-like object`."
8888
msgstr ""
8989

@@ -114,36 +114,36 @@ msgid ""
114114
"the first submodule listed above that can be imported is used."
115115
msgstr ""
116116

117-
#: ../../library/dbm.rst:75 ../../library/dbm.rst:182 ../../library/dbm.rst:374
117+
#: ../../library/dbm.rst:75 ../../library/dbm.rst:181 ../../library/dbm.rst:375
118118
msgid ""
119119
"* ``'r'`` (default): |flag_r| * ``'w'``: |flag_w| * ``'c'``: |flag_c| * "
120120
"``'n'``: |flag_n|"
121121
msgstr ""
122122
"* ``'r'`` (default): |flag_r| * ``'w'``: |flag_w| * ``'c'``: |flag_c| * "
123123
"``'n'``: |flag_n|"
124124

125-
#: ../../library/dbm.rst:76 ../../library/dbm.rst:184 ../../library/dbm.rst:247
126-
#: ../../library/dbm.rst:375
125+
#: ../../library/dbm.rst:76 ../../library/dbm.rst:183 ../../library/dbm.rst:247
126+
#: ../../library/dbm.rst:376
127127
msgid "``'r'`` (default): |flag_r|"
128128
msgstr "``'r'`` (default): |flag_r|"
129129

130-
#: ../../library/dbm.rst:77 ../../library/dbm.rst:185 ../../library/dbm.rst:248
131-
#: ../../library/dbm.rst:376 ../../library/dbm.rst:452
130+
#: ../../library/dbm.rst:77 ../../library/dbm.rst:184 ../../library/dbm.rst:248
131+
#: ../../library/dbm.rst:377 ../../library/dbm.rst:453
132132
msgid "``'w'``: |flag_w|"
133133
msgstr "``'w'``: |flag_w|"
134134

135-
#: ../../library/dbm.rst:78 ../../library/dbm.rst:186 ../../library/dbm.rst:249
136-
#: ../../library/dbm.rst:377
135+
#: ../../library/dbm.rst:78 ../../library/dbm.rst:185 ../../library/dbm.rst:249
136+
#: ../../library/dbm.rst:378
137137
msgid "``'c'``: |flag_c|"
138138
msgstr "``'c'``: |flag_c|"
139139

140-
#: ../../library/dbm.rst:79 ../../library/dbm.rst:187 ../../library/dbm.rst:250
141-
#: ../../library/dbm.rst:378 ../../library/dbm.rst:454
140+
#: ../../library/dbm.rst:79 ../../library/dbm.rst:186 ../../library/dbm.rst:250
141+
#: ../../library/dbm.rst:379 ../../library/dbm.rst:455
142142
msgid "``'n'``: |flag_n|"
143143
msgstr "``'n'``: |flag_n|"
144144

145-
#: ../../library/dbm.rst:81 ../../library/dbm.rst:264 ../../library/dbm.rst:380
146-
#: ../../library/dbm.rst:456
145+
#: ../../library/dbm.rst:81 ../../library/dbm.rst:264 ../../library/dbm.rst:381
146+
#: ../../library/dbm.rst:457
147147
msgid "|mode_param_doc|"
148148
msgstr "|mode_param_doc|"
149149

@@ -248,18 +248,19 @@ msgstr ""
248248
msgid ":mod:`!dbm.sqlite3` --- SQLite backend for dbm"
249249
msgstr ":mod:`dbm.sqlite3` --- dbm 的 SQLite 後端"
250250

251-
#: ../../library/dbm.rst:163
251+
#: ../../library/dbm.rst:162
252252
msgid "**Source code:** :source:`Lib/dbm/sqlite3.py`"
253253
msgstr "**原始碼:**\\ :source:`Lib/dbm/sqlite3.py`"
254254

255-
#: ../../library/dbm.rst:167
255+
#: ../../library/dbm.rst:166
256256
msgid ""
257257
"This module uses the standard library :mod:`sqlite3` module to provide an "
258258
"SQLite backend for the :mod:`!dbm` module. The files created by :mod:`!dbm."
259259
"sqlite3` can thus be opened by :mod:`sqlite3`, or any other SQLite browser, "
260260
"including the SQLite CLI."
261261
msgstr ""
262262

263+
#: ../../library/dbm.rst:225 ../../library/dbm.rst:353
263264
#: ../../includes/wasm-mobile-notavail.rst:3 ../../includes/wasm-notavail.rst:3
264265
msgid "Availability"
265266
msgstr "可用性"
@@ -272,53 +273,53 @@ msgstr ""
272273
"此模組在 WebAssembly 平台上不起作用或無法使用。更多資訊請參閱 :ref:`wasm-"
273274
"availability`。"
274275

275-
#: ../../library/dbm.rst:176
276+
#: ../../library/dbm.rst:175
276277
msgid "Open an SQLite database."
277278
msgstr "打開一個 SQLite 資料庫。"
278279

279-
#: ../../library/dbm.rst:178
280+
#: ../../library/dbm.rst:177
280281
msgid "The path to the database to be opened."
281282
msgstr "要打開的資料庫路徑"
282283

283-
#: ../../library/dbm.rst:189
284+
#: ../../library/dbm.rst:188
284285
msgid ""
285286
"The Unix file access mode of the file (default: octal ``0o666``), used only "
286287
"when the database has to be created."
287288
msgstr ""
288289

289-
#: ../../library/dbm.rst:193
290+
#: ../../library/dbm.rst:192
290291
msgid ""
291292
"The returned database object behaves similar to a mutable :term:`mapping`, "
292293
"but the :meth:`!keys` method returns a list, and the :meth:`!setdefault` "
293294
"method requires two arguments. It also supports a \"closing\" context "
294295
"manager via the :keyword:`with` keyword."
295296
msgstr ""
296297

297-
#: ../../library/dbm.rst:198 ../../library/dbm.rst:399
298+
#: ../../library/dbm.rst:197 ../../library/dbm.rst:400
298299
msgid "The following method is also provided:"
299300
msgstr "也提供了以下方法:"
300301

301-
#: ../../library/dbm.rst:202
302+
#: ../../library/dbm.rst:201
302303
msgid "Close the SQLite database."
303304
msgstr "關閉 SQLite 資料庫。"
304305

305-
#: ../../library/dbm.rst:206
306+
#: ../../library/dbm.rst:205
306307
#, fuzzy
307308
msgid ":mod:`!dbm.gnu` --- GNU database manager"
308309
msgstr ":mod:`dbm.gnu` --- GNU 資料庫管理器"
309310

310-
#: ../../library/dbm.rst:212
311+
#: ../../library/dbm.rst:210
311312
msgid "**Source code:** :source:`Lib/dbm/gnu.py`"
312313
msgstr "**原始碼:**\\ :source:`Lib/dbm/gnu.py`"
313314

314-
#: ../../library/dbm.rst:216
315+
#: ../../library/dbm.rst:214
315316
msgid ""
316317
"The :mod:`!dbm.gnu` module provides an interface to the :abbr:`GDBM (GNU "
317318
"dbm)` library, similar to the :mod:`dbm.ndbm` module, but with additional "
318319
"functionality like crash tolerance."
319320
msgstr ""
320321

321-
#: ../../library/dbm.rst:222
322+
#: ../../library/dbm.rst:220
322323
msgid ""
323324
"The file formats created by :mod:`!dbm.gnu` and :mod:`dbm.ndbm` are "
324325
"incompatible and can not be used interchangeably."
@@ -406,15 +407,15 @@ msgid ""
406407
"supports a \"closing\" context manager via the :keyword:`with` keyword."
407408
msgstr ""
408409

409-
#: ../../library/dbm.rst:280 ../../library/dbm.rst:393
410+
#: ../../library/dbm.rst:280 ../../library/dbm.rst:394
410411
msgid "Added the :meth:`!get` and :meth:`!setdefault` methods."
411412
msgstr "新增了 :meth:`!get` 和 :meth:`!setdefault` 方法。"
412413

413-
#: ../../library/dbm.rst:283 ../../library/dbm.rst:396
414+
#: ../../library/dbm.rst:283 ../../library/dbm.rst:397
414415
msgid "Added the :meth:`!clear` method."
415416
msgstr "新增了 :meth:`!clear` 方法。"
416417

417-
#: ../../library/dbm.rst:286 ../../library/dbm.rst:479
418+
#: ../../library/dbm.rst:286 ../../library/dbm.rst:480
418419
msgid "The following methods are also provided:"
419420
msgstr "也提供了以下方法:"
420421

@@ -469,57 +470,57 @@ msgstr ""
469470
msgid ":mod:`!dbm.ndbm` --- New Database Manager"
470471
msgstr ":mod:`dbm.ndbm` --- 新資料庫管理器"
471472

472-
#: ../../library/dbm.rst:331
473+
#: ../../library/dbm.rst:330
473474
msgid "**Source code:** :source:`Lib/dbm/ndbm.py`"
474475
msgstr "**原始碼:**\\ :source:`Lib/dbm/ndbm.py`"
475476

476-
#: ../../library/dbm.rst:335
477+
#: ../../library/dbm.rst:334
477478
msgid ""
478479
"The :mod:`!dbm.ndbm` module provides an interface to the :abbr:`NDBM (New "
479480
"Database Manager)` library. This module can be used with the \"classic\" "
480481
"NDBM interface or the :abbr:`GDBM (GNU dbm)` compatibility interface."
481482
msgstr ""
482483

483-
#: ../../library/dbm.rst:342
484+
#: ../../library/dbm.rst:341
484485
msgid ""
485486
"The file formats created by :mod:`dbm.gnu` and :mod:`!dbm.ndbm` are "
486487
"incompatible and can not be used interchangeably."
487488
msgstr ""
488489

489-
#: ../../library/dbm.rst:347
490+
#: ../../library/dbm.rst:346
490491
msgid ""
491492
"The NDBM library shipped as part of macOS has an undocumented limitation on "
492493
"the size of values, which can result in corrupted database files when "
493494
"storing values larger than this limit. Reading such corrupted files can "
494495
"result in a hard crash (segmentation fault)."
495496
msgstr ""
496497

497-
#: ../../library/dbm.rst:356
498+
#: ../../library/dbm.rst:357
498499
msgid ""
499500
"Raised on :mod:`!dbm.ndbm`-specific errors, such as I/O errors. :exc:"
500501
"`KeyError` is raised for general mapping errors like specifying an incorrect "
501502
"key."
502503
msgstr ""
503504

504-
#: ../../library/dbm.rst:362
505+
#: ../../library/dbm.rst:363
505506
msgid "Name of the NDBM implementation library used."
506507
msgstr ""
507508

508-
#: ../../library/dbm.rst:367
509+
#: ../../library/dbm.rst:368
509510
msgid "Open an NDBM database and return an :class:`!ndbm` object."
510511
msgstr ""
511512

512-
#: ../../library/dbm.rst:369
513+
#: ../../library/dbm.rst:370
513514
msgid ""
514515
"The basename of the database file (without the :file:`.dir` or :file:`.pag` "
515516
"extensions)."
516517
msgstr ""
517518

518-
#: ../../library/dbm.rst:383
519+
#: ../../library/dbm.rst:384
519520
msgid "Accepts :term:`path-like object` for filename."
520521
msgstr ""
521522

522-
#: ../../library/dbm.rst:386
523+
#: ../../library/dbm.rst:387
523524
msgid ""
524525
":class:`!ndbm` objects behave similar to mutable :term:`mappings <mapping>`, "
525526
"but methods :meth:`!items`, :meth:`!values`, :meth:`!pop`, :meth:`!popitem`, "
@@ -528,122 +529,122 @@ msgid ""
528529
"supports a \"closing\" context manager via the :keyword:`with` keyword."
529530
msgstr ""
530531

531-
#: ../../library/dbm.rst:403
532+
#: ../../library/dbm.rst:404
532533
msgid "Close the NDBM database."
533534
msgstr "關閉 NDBM 資料庫。"
534535

535-
#: ../../library/dbm.rst:407
536+
#: ../../library/dbm.rst:408
536537
#, fuzzy
537538
msgid ":mod:`!dbm.dumb` --- Portable DBM implementation"
538539
msgstr ":mod:`dbm.dumb` --- 可攜式 DBM 實作"
539540

540-
#: ../../library/dbm.rst:412
541+
#: ../../library/dbm.rst:413
541542
msgid "**Source code:** :source:`Lib/dbm/dumb.py`"
542543
msgstr "**原始碼:**\\ :source:`Lib/dbm/dumb.py`"
543544

544-
#: ../../library/dbm.rst:418
545+
#: ../../library/dbm.rst:419
545546
msgid ""
546547
"The :mod:`!dbm.dumb` module is intended as a last resort fallback for the :"
547548
"mod:`!dbm` module when a more robust module is not available. The :mod:`!dbm."
548549
"dumb` module is not written for speed and is not nearly as heavily used as "
549550
"the other database modules."
550551
msgstr ""
551552

552-
#: ../../library/dbm.rst:425
553+
#: ../../library/dbm.rst:426
553554
msgid ""
554555
"The :mod:`!dbm.dumb` module provides a persistent :class:`dict`-like "
555556
"interface which is written entirely in Python. Unlike other :mod:`!dbm` "
556557
"backends, such as :mod:`dbm.gnu`, no external library is required."
557558
msgstr ""
558559

559-
#: ../../library/dbm.rst:430
560+
#: ../../library/dbm.rst:431
560561
msgid "The :mod:`!dbm.dumb` module defines the following:"
561562
msgstr ":mod:`!dbm.dumb` 模組定義了以下項目:"
562563

563-
#: ../../library/dbm.rst:434
564+
#: ../../library/dbm.rst:435
564565
msgid ""
565566
"Raised on :mod:`!dbm.dumb`-specific errors, such as I/O errors. :exc:"
566567
"`KeyError` is raised for general mapping errors like specifying an incorrect "
567568
"key."
568569
msgstr ""
569570

570-
#: ../../library/dbm.rst:440
571+
#: ../../library/dbm.rst:441
571572
msgid "Open a :mod:`!dbm.dumb` database."
572573
msgstr "開啟一個 :mod:`!dbm.dumb` 資料庫。"
573574

574-
#: ../../library/dbm.rst:442
575+
#: ../../library/dbm.rst:443
575576
msgid ""
576577
"The basename of the database file (without extensions). A new database "
577578
"creates the following files: - :file:`{filename}.dat` - :file:`{filename}."
578579
"dir`"
579580
msgstr ""
580581

581-
#: ../../library/dbm.rst:443
582+
#: ../../library/dbm.rst:444
582583
msgid ""
583584
"The basename of the database file (without extensions). A new database "
584585
"creates the following files:"
585586
msgstr ""
586587

587-
#: ../../library/dbm.rst:446
588+
#: ../../library/dbm.rst:447
588589
msgid ":file:`{filename}.dat`"
589590
msgstr ":file:`{filename}.dat`"
590591

591-
#: ../../library/dbm.rst:447
592+
#: ../../library/dbm.rst:448
592593
msgid ":file:`{filename}.dir`"
593594
msgstr ":file:`{filename}.dir`"
594595

595-
#: ../../library/dbm.rst:450
596+
#: ../../library/dbm.rst:451
596597
msgid ""
597598
"* ``'r'``: |flag_r| * ``'w'``: |flag_w| * ``'c'`` (default): |flag_c| * "
598599
"``'n'``: |flag_n|"
599600
msgstr ""
600601
"* ``'r'``: |flag_r| * ``'w'``: |flag_w| * ``'c'`` (default): |flag_c| * "
601602
"``'n'``: |flag_n|"
602603

603-
#: ../../library/dbm.rst:451
604+
#: ../../library/dbm.rst:452
604605
msgid "``'r'``: |flag_r|"
605606
msgstr "``'r'``: |flag_r|"
606607

607-
#: ../../library/dbm.rst:453
608+
#: ../../library/dbm.rst:454
608609
msgid "``'c'`` (default): |flag_c|"
609610
msgstr "``'c'`` (default): |flag_c|"
610611

611-
#: ../../library/dbm.rst:460
612+
#: ../../library/dbm.rst:461
612613
msgid ""
613614
"It is possible to crash the Python interpreter when loading a database with "
614615
"a sufficiently large/complex entry due to stack depth limitations in "
615616
"Python's AST compiler."
616617
msgstr ""
617618

618-
#: ../../library/dbm.rst:464
619+
#: ../../library/dbm.rst:465
619620
msgid ""
620621
":func:`~dbm.dumb.open` always creates a new database when *flag* is ``'n'``."
621622
msgstr ""
622623

623-
#: ../../library/dbm.rst:467
624+
#: ../../library/dbm.rst:468
624625
msgid ""
625626
"A database opened read-only if *flag* is ``'r'``. A database is not created "
626627
"if it does not exist if *flag* is ``'r'`` or ``'w'``."
627628
msgstr ""
628629

629-
#: ../../library/dbm.rst:474
630+
#: ../../library/dbm.rst:475
630631
msgid ""
631632
"The returned database object behaves similar to a mutable :term:`mapping`, "
632633
"but the :meth:`!keys` and :meth:`!items` methods return lists, and the :meth:"
633634
"`!setdefault` method requires two arguments. It also supports a \"closing\" "
634635
"context manager via the :keyword:`with` keyword."
635636
msgstr ""
636637

637-
#: ../../library/dbm.rst:483
638+
#: ../../library/dbm.rst:484
638639
msgid "Close the database."
639640
msgstr "關閉資料庫。"
640641

641-
#: ../../library/dbm.rst:487
642+
#: ../../library/dbm.rst:488
642643
msgid ""
643644
"Synchronize the on-disk directory and data files. This method is called by "
644645
"the :meth:`shelve.Shelf.sync` method."
645646
msgstr ""
646647

647-
#: ../../library/dbm.rst:414
648+
#: ../../library/dbm.rst:415
648649
msgid "databases"
649650
msgstr "databases(資料庫)"

0 commit comments

Comments
 (0)