@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.14\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2026-04-09 15:16 +0000\n "
14+ "POT-Creation-Date : 2026-04-27 15:43 +0000\n "
1515"PO-Revision-Date : 2025-09-16 00:01+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -168,7 +168,8 @@ msgid ""
168168"*attrs* argument is a list of ``(name, value)`` pairs containing the "
169169"attributes found inside the tag's ``<>`` brackets. The *name* will be "
170170"translated to lower case, and quotes in the *value* have been removed, and "
171- "character and entity references have been replaced."
171+ "character and entity references have been replaced. For empty attributes, "
172+ "*value* is ``None``."
172173msgstr ""
173174
174175msgid ""
@@ -357,6 +358,22 @@ msgid ""
357358"End tag : script"
358359msgstr ""
359360
361+ msgid ""
362+ "Attribute names are converted to lowercase, quotes from attribute values "
363+ "removed, and ``None`` is returned as *value* for empty attributes (such as "
364+ "``checked``):"
365+ msgstr ""
366+
367+ msgid ""
368+ ">>> parser.feed(\" <input TYPE='checkbox' checked required='' "
369+ "disabled=disabled>\" )\n"
370+ "Start tag: input\n"
371+ " attr: ('type', 'checkbox')\n"
372+ " attr: ('checked', None)\n"
373+ " attr: ('required', '')\n"
374+ " attr: ('disabled', 'disabled')"
375+ msgstr ""
376+
360377msgid "Parsing comments:"
361378msgstr ""
362379
0 commit comments