Skip to content

Commit 14002f7

Browse files
sync with cpython f9fdb30d
1 parent 1e3efb7 commit 14002f7

3 files changed

Lines changed: 701 additions & 672 deletions

File tree

library/os.po

Lines changed: 29 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.14\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2026-07-31 00:31+0000\n"
9+
"POT-Creation-Date: 2026-08-28 02:46+0000\n"
1010
"PO-Revision-Date: 2024-04-29 15:24+0800\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -364,7 +364,7 @@ msgstr ""
364364
#: ../../library/os.rst:4057 ../../library/os.rst:4066
365365
#: ../../library/os.rst:4075 ../../library/os.rst:4083
366366
#: ../../library/os.rst:4092 ../../library/os.rst:4101
367-
#: ../../library/os.rst:4173 ../../library/os.rst:4236
367+
#: ../../library/os.rst:4174 ../../library/os.rst:4236
368368
#: ../../library/os.rst:4246 ../../library/os.rst:4264
369369
#: ../../library/os.rst:4273 ../../library/os.rst:4283
370370
#: ../../library/os.rst:4293 ../../library/os.rst:4303
@@ -4616,9 +4616,9 @@ msgstr ""
46164616
#: ../../library/os.rst:4141
46174617
msgid ""
46184618
"If *clockid* is :const:`time.CLOCK_REALTIME`, a settable system-wide real-"
4619-
"time clock is used. If system clock is changed, timer setting need to be "
4620-
"updated. To cancel timer when system clock is changed, see :const:"
4621-
"`TFD_TIMER_CANCEL_ON_SET`."
4619+
"time clock is used. If the system clock is changed, the timer setting needs "
4620+
"to be updated. To cancel the timer when the system clock is changed, see :"
4621+
"const:`TFD_TIMER_CANCEL_ON_SET`."
46224622
msgstr ""
46234623

46244624
#: ../../library/os.rst:4146
@@ -4630,84 +4630,82 @@ msgstr ""
46304630

46314631
#: ../../library/os.rst:4150
46324632
msgid ""
4633-
"If *clockid* is :const:`time.CLOCK_BOOTTIME`, same as :const:`time."
4633+
"If *clockid* is :const:`time.CLOCK_BOOTTIME`, it is the same as :const:`time."
46344634
"CLOCK_MONOTONIC` except it includes any time that the system is suspended."
46354635
msgstr ""
46364636

4637-
#: ../../library/os.rst:4153
4637+
#: ../../library/os.rst:4154
46384638
msgid ""
46394639
"The file descriptor's behaviour can be modified by specifying a *flags* "
46404640
"value. Any of the following variables may be used, combined using bitwise OR "
46414641
"(the ``|`` operator):"
46424642
msgstr ""
46434643

4644-
#: ../../library/os.rst:4157
4644+
#: ../../library/os.rst:4158
46454645
msgid ":const:`TFD_NONBLOCK`"
46464646
msgstr ":const:`TFD_NONBLOCK`"
46474647

4648-
#: ../../library/os.rst:4158
4648+
#: ../../library/os.rst:4159
46494649
msgid ":const:`TFD_CLOEXEC`"
46504650
msgstr ":const:`TFD_CLOEXEC`"
46514651

4652-
#: ../../library/os.rst:4160
4652+
#: ../../library/os.rst:4161
46534653
msgid ""
46544654
"If :const:`TFD_NONBLOCK` is not set as a flag, :func:`read` blocks until the "
4655-
"timer expires. If it is set as a flag, :func:`read` doesn't block, but If "
4655+
"timer expires. If it is set as a flag, :func:`read` doesn't block, but if "
46564656
"there hasn't been an expiration since the last call to read, :func:`read` "
4657-
"raises :class:`OSError` with ``errno`` is set to :const:`errno.EAGAIN`."
4657+
"raises :class:`OSError` with ``errno`` set to :const:`errno.EAGAIN`."
46584658
msgstr ""
46594659

4660-
#: ../../library/os.rst:4166
4660+
#: ../../library/os.rst:4167
46614661
msgid ":const:`TFD_CLOEXEC` is always set by Python automatically."
46624662
msgstr ":const:`TFD_CLOEXEC` 總是由 Python 自動設定。"
46634663

4664-
#: ../../library/os.rst:4168
4664+
#: ../../library/os.rst:4169
46654665
msgid ""
46664666
"The file descriptor must be closed with :func:`os.close` when it is no "
46674667
"longer needed, or else the file descriptor will be leaked."
46684668
msgstr ""
46694669

4670-
#: ../../library/os.rst:4171
4670+
#: ../../library/os.rst:4172
46714671
msgid "The :manpage:`timerfd_create(2)` man page."
46724672
msgstr ":manpage:`timerfd_create(2)` 使用手冊。"
46734673

4674-
#: ../../library/os.rst:4180
4674+
#: ../../library/os.rst:4181
46754675
msgid ""
46764676
"Alter a timer file descriptor's internal timer. This function operates the "
46774677
"same interval timer as :func:`timerfd_settime_ns`."
46784678
msgstr ""
46794679

4680-
#: ../../library/os.rst:4183
4680+
#: ../../library/os.rst:4184
46814681
msgid "*fd* must be a valid timer file descriptor."
46824682
msgstr "*fd* 必須是有效的計時器檔案描述器。"
46834683

4684-
#: ../../library/os.rst:4185
4684+
#: ../../library/os.rst:4186
46854685
msgid ""
46864686
"The timer's behaviour can be modified by specifying a *flags* value. Any of "
46874687
"the following variables may be used, combined using bitwise OR (the ``|`` "
46884688
"operator):"
46894689
msgstr ""
46904690

4691-
#: ../../library/os.rst:4189
4691+
#: ../../library/os.rst:4190
46924692
msgid ":const:`TFD_TIMER_ABSTIME`"
46934693
msgstr ":const:`TFD_TIMER_ABSTIME`"
46944694

4695-
#: ../../library/os.rst:4190
4695+
#: ../../library/os.rst:4191
46964696
msgid ":const:`TFD_TIMER_CANCEL_ON_SET`"
46974697
msgstr ":const:`TFD_TIMER_CANCEL_ON_SET`"
46984698

4699-
#: ../../library/os.rst:4192
4699+
#: ../../library/os.rst:4193
47004700
msgid ""
47014701
"The timer is disabled by setting *initial* to zero (``0``). If *initial* is "
4702-
"equal to or greater than zero, the timer is enabled. If *initial* is less "
4703-
"than zero, it raises an :class:`OSError` exception with ``errno`` set to :"
4704-
"const:`errno.EINVAL`"
4702+
"greater than zero, the timer is enabled. If *initial* is less than zero, it "
4703+
"raises an :class:`OSError` exception with ``errno`` set to :const:`errno."
4704+
"EINVAL`."
47054705
msgstr ""
47064706

4707-
#: ../../library/os.rst:4197
4708-
msgid ""
4709-
"By default the timer will fire when *initial* seconds have elapsed. (If "
4710-
"*initial* is zero, timer will fire immediately.)"
4707+
#: ../../library/os.rst:4198
4708+
msgid "By default the timer will fire when *initial* seconds have elapsed."
47114709
msgstr ""
47124710

47134711
#: ../../library/os.rst:4200
@@ -4724,16 +4722,16 @@ msgid ""
47244722
"*interval* is greater than zero, the timer fires every time *interval* "
47254723
"seconds have elapsed since the previous expiration. If *interval* is less "
47264724
"than zero, it raises :class:`OSError` with ``errno`` set to :const:`errno."
4727-
"EINVAL`"
4725+
"EINVAL`."
47284726
msgstr ""
47294727

47304728
#: ../../library/os.rst:4211
47314729
msgid ""
47324730
"If the :const:`TFD_TIMER_CANCEL_ON_SET` flag is set along with :const:"
47334731
"`TFD_TIMER_ABSTIME` and the clock for this timer is :const:`time."
47344732
"CLOCK_REALTIME`, the timer is marked as cancelable if the real-time clock is "
4735-
"changed discontinuously. Reading the descriptor is aborted with the error "
4736-
"ECANCELED."
4733+
"changed discontinuously. Reading the descriptor is aborted with the error :"
4734+
"const:`errno.ECANCELED`."
47374735
msgstr ""
47384736

47394737
#: ../../library/os.rst:4217

0 commit comments

Comments
 (0)