@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.14\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2025-11-05 14:15 +0000\n "
14+ "POT-Creation-Date : 2025-11-21 14:14 +0000\n "
1515"PO-Revision-Date : 2025-09-16 00:00+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -30,12 +30,45 @@ msgid ""
3030"Various date and time objects are supplied by the :mod:`datetime` module. "
3131"Before using any of these functions, the header file :file:`datetime.h` must "
3232"be included in your source (note that this is not included by :file:`Python."
33- "h`), and the macro :c:macro:`! PyDateTime_IMPORT` must be invoked, usually as "
33+ "h`), and the macro :c:macro:`PyDateTime_IMPORT` must be invoked, usually as "
3434"part of the module initialisation function. The macro puts a pointer to a C "
35- "structure into a static variable, :c:data:`! PyDateTimeAPI`, that is used by "
35+ "structure into a static variable, :c:data:`PyDateTimeAPI`, that is used by "
3636"the following macros."
3737msgstr ""
3838
39+ msgid "Import the datetime C API."
40+ msgstr ""
41+
42+ msgid ""
43+ "On success, populate the :c:var:`PyDateTimeAPI` pointer. On failure, set :c:"
44+ "var:`PyDateTimeAPI` to ``NULL`` and set an exception. The caller must check "
45+ "if an error occurred via :c:func:`PyErr_Occurred`:"
46+ msgstr ""
47+
48+ msgid ""
49+ "PyDateTime_IMPORT;\n"
50+ "if (PyErr_Occurred()) { /* cleanup */ }"
51+ msgstr ""
52+
53+ msgid "This is not compatible with subinterpreters."
54+ msgstr ""
55+
56+ msgid "Structure containing the fields for the datetime C API."
57+ msgstr ""
58+
59+ msgid "The fields of this structure are private and subject to change."
60+ msgstr ""
61+
62+ msgid "Do not use this directly; prefer ``PyDateTime_*`` APIs instead."
63+ msgstr ""
64+
65+ msgid "Dynamically allocated object containing the datetime C API."
66+ msgstr ""
67+
68+ msgid ""
69+ "This variable is only available once :c:macro:`PyDateTime_IMPORT` succeeds."
70+ msgstr ""
71+
3972msgid "This subtype of :c:type:`PyObject` represents a Python date object."
4073msgstr ""
4174
@@ -260,3 +293,17 @@ msgid ""
260293"Create and return a new :class:`datetime.date` object given an argument "
261294"tuple suitable for passing to :meth:`datetime.date.fromtimestamp`."
262295msgstr ""
296+
297+ msgid "Internal data"
298+ msgstr ""
299+
300+ msgid ""
301+ "The following symbols are exposed by the C API but should be considered "
302+ "internal-only."
303+ msgstr ""
304+
305+ msgid "Name of the datetime capsule to pass to :c:func:`PyCapsule_Import`."
306+ msgstr ""
307+
308+ msgid "Internal usage only. Use :c:macro:`PyDateTime_IMPORT` instead."
309+ msgstr ""
0 commit comments