@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.15\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2026-08-21 14:26 +0000\n "
14+ "POT-Creation-Date : 2026-09-03 17:25 +0000\n "
1515"PO-Revision-Date : 2025-09-16 00:02+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -75,36 +75,37 @@ msgid ""
7575" print(node.toxml())"
7676msgstr ""
7777
78- msgid "``event`` is a constant and can be one of:"
78+ msgid ""
79+ "``event`` is one of the following constants, and ``node`` is the node which "
80+ "the event is about. The nodes implement the :mod:`xml.dom` interfaces; they "
81+ "are created by the DOM implementation given to :class:`PullDOM`, which is :"
82+ "mod:`xml.dom.minidom` by default."
7983msgstr ""
8084
81- msgid ":data:`START_ELEMENT`"
82- msgstr ":data:`START_ELEMENT`"
83-
84- msgid ":data:`END_ELEMENT`"
85- msgstr ":data:`END_ELEMENT`"
86-
87- msgid ":data:`COMMENT`"
88- msgstr ":data:`COMMENT`"
89-
90- msgid ":data:`START_DOCUMENT`"
91- msgstr ":data:`START_DOCUMENT`"
85+ msgid ""
86+ "The start and the end of the document. *node* is the :class:`~xml.dom."
87+ "Document`."
88+ msgstr ""
9289
93- msgid ":data:`END_DOCUMENT`"
94- msgstr ":data:`END_DOCUMENT`"
90+ msgid ""
91+ "The start tag and the end tag of an element. *node* is the :class:`~xml.dom."
92+ "Element`."
93+ msgstr ""
9594
96- msgid ": data:`CHARACTERS` "
97- msgstr ":data:`CHARACTERS` "
95+ msgid "Character data. *node* is the :class:`~xml.dom.Text` node. "
96+ msgstr ""
9897
99- msgid ":data:`PROCESSING_INSTRUCTION`"
100- msgstr ":data:`PROCESSING_INSTRUCTION`"
98+ msgid ""
99+ "White space in element content, as declared in the DTD. *node* is the :class:"
100+ "`~xml.dom.Text` node."
101+ msgstr ""
101102
102- msgid ":data:`IGNORABLE_WHITESPACE` "
103- msgstr ":data:`IGNORABLE_WHITESPACE` "
103+ msgid "A comment. *node* is the :class:`~xml.dom.Comment` node. "
104+ msgstr ""
104105
105106msgid ""
106- "``node`` is an object of type :class:`xml.dom.minidom.Document`, :class:`xml ."
107- "dom.minidom.Element` or :class:`xml.dom.minidom.Text` ."
107+ "A processing instruction. *node* is the :class:`~ xml.dom."
108+ "ProcessingInstruction` node ."
108109msgstr ""
109110
110111msgid ""
@@ -118,7 +119,17 @@ msgid ""
118119"`DOMEventStream.expandNode` method and switch to DOM-related processing."
119120msgstr ""
120121
121- msgid "Subclass of :class:`xml.sax.handler.ContentHandler`."
122+ msgid ""
123+ "Subclass of :class:`xml.sax.handler.ContentHandler` which turns SAX events "
124+ "into the events of the pull parser. The nodes are created, but they are not "
125+ "added to the tree, unless :meth:`~DOMEventStream.expandNode` is called. "
126+ "*documentFactory*, if given, is a DOM implementation used to create the "
127+ "document; by default the implementation of :mod:`xml.dom.minidom` is used."
128+ msgstr ""
129+
130+ msgid ""
131+ "Subclass of :class:`PullDOM` which also adds every created node to the tree, "
132+ "so that the complete document is built."
122133msgstr ""
123134
124135msgid ""
@@ -136,7 +147,9 @@ msgid ""
136147msgstr ""
137148
138149msgid ""
139- "Return a :class:`DOMEventStream` that represents the (Unicode) *string*."
150+ "Return a :class:`DOMEventStream` that represents the *string*. *string* must "
151+ "be a :class:`str` instance; to parse bytes, pass a binary file object to :"
152+ "func:`parse`."
140153msgstr ""
141154
142155msgid "Default value for the *bufsize* parameter to :func:`parse`."
@@ -150,16 +163,20 @@ msgstr ""
150163msgid "DOMEventStream Objects"
151164msgstr ""
152165
166+ msgid ""
167+ "Produce the events for the data read from the file object *stream* by the :"
168+ "class:`~xml.sax.xmlreader.XMLReader` *parser*. The data is read by *bufsize* "
169+ "bytes, or characters for a text stream, at a time."
170+ msgstr ""
171+
153172msgid "Support for :meth:`~object.__getitem__` method has been removed."
154173msgstr ""
155174
156175msgid ""
157- "Return a tuple containing *event* and the current *node* as :class:`xml.dom."
158- "minidom.Document` if event equals :data:`START_DOCUMENT`, :class:`xml.dom."
159- "minidom.Element` if event equals :data:`START_ELEMENT` or :data:"
160- "`END_ELEMENT` or :class:`xml.dom.minidom.Text` if event equals :data:"
161- "`CHARACTERS`. The current node does not contain information about its "
162- "children, unless :func:`expandNode` is called."
176+ "Return the next ``(event, node)`` tuple, or ``None`` at the end of the "
177+ "document. See above for the events and the corresponding nodes. The current "
178+ "node does not contain information about its children, unless :meth:"
179+ "`expandNode` is called."
163180msgstr ""
164181
165182msgid "Expands all children of *node* into *node*. Example::"
@@ -180,3 +197,13 @@ msgid ""
180197"text <div>and more</div></p>'\n"
181198" print(node.toxml())"
182199msgstr ""
200+
201+ msgid ""
202+ "Discard the events which are not read yet and prepare the object for parsing "
203+ "a new document."
204+ msgstr ""
205+
206+ msgid ""
207+ "Release the parser and the document. The stream is not closed, and the "
208+ "object can no longer be used."
209+ msgstr ""
0 commit comments