-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathtime.po
More file actions
125 lines (98 loc) · 4.13 KB
/
Copy pathtime.po
File metadata and controls
125 lines (98 loc) · 4.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2025, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-02-10 02:51+0330\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: c-api/time.rst:6
msgid "PyTime C API"
msgstr ""
#: c-api/time.rst:10
msgid "The clock C API provides access to system clocks. It is similar to the Python :mod:`time` module."
msgstr ""
#: c-api/time.rst:13
msgid "For C API related to the :mod:`datetime` module, see :ref:`datetimeobjects`."
msgstr ""
#: c-api/time.rst:17
msgid "Types"
msgstr ""
#: c-api/time.rst:21
msgid "A timestamp or duration in nanoseconds, represented as a signed 64-bit integer."
msgstr ""
#: c-api/time.rst:24
msgid "The reference point for timestamps depends on the clock used. For example, :c:func:`PyTime_Time` returns timestamps relative to the UNIX epoch."
msgstr ""
#: c-api/time.rst:27
msgid "The supported range is around [-292.3 years; +292.3 years]. Using the Unix epoch (January 1st, 1970) as reference, the supported date range is around [1677-09-21; 2262-04-11]. The exact limits are exposed as constants:"
msgstr ""
#: c-api/time.rst:34
msgid "Minimum value of :c:type:`PyTime_t`."
msgstr ""
#: c-api/time.rst:38
msgid "Maximum value of :c:type:`PyTime_t`."
msgstr ""
#: c-api/time.rst:42
msgid "Clock Functions"
msgstr ""
#: c-api/time.rst:44
msgid "The following functions take a pointer to a :c:expr:`PyTime_t` that they set to the value of a particular clock. Details of each clock are given in the documentation of the corresponding Python function."
msgstr ""
#: c-api/time.rst:49
msgid "The functions return ``0`` on success, or ``-1`` (with an exception set) on failure."
msgstr ""
#: c-api/time.rst:52
msgid "On integer overflow, they set the :c:data:`PyExc_OverflowError` exception and set ``*result`` to the value clamped to the ``[PyTime_MIN; PyTime_MAX]`` range. (On current systems, integer overflows are likely caused by misconfigured system time.)"
msgstr ""
#: c-api/time.rst:58
msgid "As any other C API (unless otherwise specified), the functions must be called with the :term:`GIL` held."
msgstr ""
#: c-api/time.rst:63
msgid "Read the monotonic clock. See :func:`time.monotonic` for important details on this clock."
msgstr ""
#: c-api/time.rst:68
msgid "Read the performance counter. See :func:`time.perf_counter` for important details on this clock."
msgstr ""
#: c-api/time.rst:73
msgid "Read the “wall clock” time. See :func:`time.time` for details important on this clock."
msgstr ""
#: c-api/time.rst:78
msgid "Raw Clock Functions"
msgstr ""
#: c-api/time.rst:80
msgid "Similar to clock functions, but don't set an exception on error and don't require the caller to hold the GIL."
msgstr ""
#: c-api/time.rst:83
msgid "On success, the functions return ``0``."
msgstr ""
#: c-api/time.rst:85
msgid "On failure, they set ``*result`` to ``0`` and return ``-1``, *without* setting an exception. To get the cause of the error, acquire the GIL and call the regular (non-``Raw``) function. Note that the regular function may succeed after the ``Raw`` one failed."
msgstr ""
#: c-api/time.rst:92
msgid "Similar to :c:func:`PyTime_Monotonic`, but don't set an exception on error and don't require holding the GIL."
msgstr ""
#: c-api/time.rst:97
msgid "Similar to :c:func:`PyTime_PerfCounter`, but don't set an exception on error and don't require holding the GIL."
msgstr ""
#: c-api/time.rst:102
msgid "Similar to :c:func:`PyTime_Time`, but don't set an exception on error and don't require holding the GIL."
msgstr ""
#: c-api/time.rst:107
msgid "Conversion functions"
msgstr ""
#: c-api/time.rst:111
msgid "Convert a timestamp to a number of seconds as a C :c:expr:`double`."
msgstr ""
#: c-api/time.rst:113
msgid "The function cannot fail, but note that :c:expr:`double` has limited accuracy for large values."
msgstr ""