@@ -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-19 14 :25+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 : Bhuvansh Kataria, 2026\n "
1717"Language-Team : Panjabi (Punjabi) (https://app.transifex.com/python-doc/ "
@@ -74,36 +74,37 @@ msgid ""
7474" print(node.toxml())"
7575msgstr ""
7676
77- msgid "``event`` is a constant and can be one of:"
78- msgstr ""
79-
80- msgid ":data:`START_ELEMENT`"
81- msgstr ""
82-
83- msgid ":data:`END_ELEMENT`"
84- msgstr ""
85-
86- msgid ":data:`COMMENT`"
77+ msgid ""
78+ "``event`` is one of the following constants, and ``node`` is the node which "
79+ "the event is about. The nodes implement the :mod:`xml.dom` interfaces; they "
80+ "are created by the DOM implementation given to :class:`PullDOM`, which is :"
81+ "mod:`xml.dom.minidom` by default."
8782msgstr ""
8883
89- msgid ":data:`START_DOCUMENT`"
84+ msgid ""
85+ "The start and the end of the document. *node* is the :class:`~xml.dom."
86+ "Document`."
9087msgstr ""
9188
92- msgid ":data:`END_DOCUMENT`"
89+ msgid ""
90+ "The start tag and the end tag of an element. *node* is the :class:`~xml.dom."
91+ "Element`."
9392msgstr ""
9493
95- msgid ": data:`CHARACTERS` "
94+ msgid "Character data. *node* is the :class:`~xml.dom.Text` node. "
9695msgstr ""
9796
98- msgid ":data:`PROCESSING_INSTRUCTION`"
97+ msgid ""
98+ "White space in element content, as declared in the DTD. *node* is the :class:"
99+ "`~xml.dom.Text` node."
99100msgstr ""
100101
101- msgid ":data:`IGNORABLE_WHITESPACE` "
102+ msgid "A comment. *node* is the :class:`~xml.dom.Comment` node. "
102103msgstr ""
103104
104105msgid ""
105- "``node`` is an object of type :class:`xml.dom.minidom.Document`, :class:`xml ."
106- "dom.minidom.Element` or :class:`xml.dom.minidom.Text` ."
106+ "A processing instruction. *node* is the :class:`~ xml.dom."
107+ "ProcessingInstruction` node ."
107108msgstr ""
108109
109110msgid ""
@@ -117,7 +118,17 @@ msgid ""
117118"`DOMEventStream.expandNode` method and switch to DOM-related processing."
118119msgstr ""
119120
120- msgid "Subclass of :class:`xml.sax.handler.ContentHandler`."
121+ msgid ""
122+ "Subclass of :class:`xml.sax.handler.ContentHandler` which turns SAX events "
123+ "into the events of the pull parser. The nodes are created, but they are not "
124+ "added to the tree, unless :meth:`~DOMEventStream.expandNode` is called. "
125+ "*documentFactory*, if given, is a DOM implementation used to create the "
126+ "document; by default the implementation of :mod:`xml.dom.minidom` is used."
127+ msgstr ""
128+
129+ msgid ""
130+ "Subclass of :class:`PullDOM` which also adds every created node to the tree, "
131+ "so that the complete document is built."
121132msgstr ""
122133
123134msgid ""
@@ -135,7 +146,9 @@ msgid ""
135146msgstr ""
136147
137148msgid ""
138- "Return a :class:`DOMEventStream` that represents the (Unicode) *string*."
149+ "Return a :class:`DOMEventStream` that represents the *string*. *string* must "
150+ "be a :class:`str` instance; to parse bytes, pass a binary file object to :"
151+ "func:`parse`."
139152msgstr ""
140153
141154msgid "Default value for the *bufsize* parameter to :func:`parse`."
@@ -149,16 +162,20 @@ msgstr ""
149162msgid "DOMEventStream Objects"
150163msgstr ""
151164
165+ msgid ""
166+ "Produce the events for the data read from the file object *stream* by the :"
167+ "class:`~xml.sax.xmlreader.XMLReader` *parser*. The data is read by *bufsize* "
168+ "bytes, or characters for a text stream, at a time."
169+ msgstr ""
170+
152171msgid "Support for :meth:`~object.__getitem__` method has been removed."
153172msgstr ""
154173
155174msgid ""
156- "Return a tuple containing *event* and the current *node* as :class:`xml.dom."
157- "minidom.Document` if event equals :data:`START_DOCUMENT`, :class:`xml.dom."
158- "minidom.Element` if event equals :data:`START_ELEMENT` or :data:"
159- "`END_ELEMENT` or :class:`xml.dom.minidom.Text` if event equals :data:"
160- "`CHARACTERS`. The current node does not contain information about its "
161- "children, unless :func:`expandNode` is called."
175+ "Return the next ``(event, node)`` tuple, or ``None`` at the end of the "
176+ "document. See above for the events and the corresponding nodes. The current "
177+ "node does not contain information about its children, unless :meth:"
178+ "`expandNode` is called."
162179msgstr ""
163180
164181msgid "Expands all children of *node* into *node*. Example::"
@@ -179,3 +196,13 @@ msgid ""
179196"text <div>and more</div></p>'\n"
180197" print(node.toxml())"
181198msgstr ""
199+
200+ msgid ""
201+ "Discard the events which are not read yet and prepare the object for parsing "
202+ "a new document."
203+ msgstr ""
204+
205+ msgid ""
206+ "Release the parser and the document. The stream is not closed, and the "
207+ "object can no longer be used."
208+ msgstr ""
0 commit comments