@@ -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-05-09 14:19 +0000\n "
14+ "POT-Creation-Date : 2025-09-16 17:23 +0000\n "
1515"PO-Revision-Date : 2025-09-16 00:02+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : German (https://app.transifex.com/python-doc/teams/5390/de/)\n "
@@ -37,9 +37,30 @@ msgid ""
3737"tr44/>`_. It defines the following functions:"
3838msgstr ""
3939
40+ msgid ""
41+ "The :ref:`unicode-howto` for more information about Unicode and how to use "
42+ "this module."
43+ msgstr ""
44+
4045msgid ""
4146"Look up character by name. If a character with the given name is found, "
42- "return the corresponding character. If not found, :exc:`KeyError` is raised."
47+ "return the corresponding character. If not found, :exc:`KeyError` is "
48+ "raised. For example::"
49+ msgstr ""
50+
51+ msgid ""
52+ ">>> unicodedata.lookup('LEFT CURLY BRACKET')\n"
53+ "'{'"
54+ msgstr ""
55+
56+ msgid ""
57+ "The characters returned by this function are the same as those produced by "
58+ "``\\ N`` escape sequence in string literals. For example::"
59+ msgstr ""
60+
61+ msgid ""
62+ ">>> unicodedata.lookup('MIDDLE DOT') == '\\ N{MIDDLE DOT}'\n"
63+ "True"
4364msgstr ""
4465
4566msgid "Support for name aliases [#]_ and named sequences [#]_ has been added."
@@ -48,52 +69,112 @@ msgstr ""
4869msgid ""
4970"Returns the name assigned to the character *chr* as a string. If no name is "
5071"defined, *default* is returned, or, if not given, :exc:`ValueError` is "
51- "raised."
72+ "raised. For example::"
73+ msgstr ""
74+
75+ msgid ""
76+ ">>> unicodedata.name('½')\n"
77+ "'VULGAR FRACTION ONE HALF'\n"
78+ ">>> unicodedata.name('\\ uFFFF', 'fallback')\n"
79+ "'fallback'"
5280msgstr ""
5381
5482msgid ""
5583"Returns the decimal value assigned to the character *chr* as integer. If no "
5684"such value is defined, *default* is returned, or, if not given, :exc:"
57- "`ValueError` is raised."
85+ "`ValueError` is raised. For example::"
86+ msgstr ""
87+
88+ msgid ""
89+ ">>> unicodedata.decimal('\\ N{ARABIC-INDIC DIGIT NINE}')\n"
90+ "9\n"
91+ ">>> unicodedata.decimal('\\ N{SUPERSCRIPT NINE}', -1)\n"
92+ "-1"
5893msgstr ""
5994
6095msgid ""
6196"Returns the digit value assigned to the character *chr* as integer. If no "
6297"such value is defined, *default* is returned, or, if not given, :exc:"
63- "`ValueError` is raised."
98+ "`ValueError` is raised::"
99+ msgstr ""
100+
101+ msgid ""
102+ ">>> unicodedata.digit('\\ N{SUPERSCRIPT NINE}')\n"
103+ "9"
64104msgstr ""
65105
66106msgid ""
67107"Returns the numeric value assigned to the character *chr* as float. If no "
68108"such value is defined, *default* is returned, or, if not given, :exc:"
69- "`ValueError` is raised."
109+ "`ValueError` is raised::"
110+ msgstr ""
111+
112+ msgid ""
113+ ">>> unicodedata.numeric('½')\n"
114+ "0.5"
115+ msgstr ""
116+
117+ msgid ""
118+ "Returns the general category assigned to the character *chr* as string. "
119+ "General category names consist of two letters. See the `General Category "
120+ "Values section of the Unicode Character Database documentation <https://www."
121+ "unicode.org/reports/tr44/tr44-34.html#General_Category_Values>`_ for a list "
122+ "of category codes. For example::"
70123msgstr ""
71124
72- msgid "Returns the general category assigned to the character *chr* as string."
125+ msgid ""
126+ ">>> unicodedata.category('A') # 'L'etter, 'u'ppercase\n"
127+ "'Lu'"
73128msgstr ""
74129
75130msgid ""
76131"Returns the bidirectional class assigned to the character *chr* as string. "
77- "If no such value is defined, an empty string is returned."
132+ "If no such value is defined, an empty string is returned. See the "
133+ "`Bidirectional Class Values section of the Unicode Character Database "
134+ "<https://www.unicode.org/reports/tr44/tr44-34.html#Bidi_Class_Values>`_ "
135+ "documentation for a list of bidirectional codes. For example::"
136+ msgstr ""
137+
138+ msgid ""
139+ ">>> unicodedata.bidirectional('\\ N{ARABIC-INDIC DIGIT SEVEN}') # 'A'rabic, "
140+ "'N'umber\n"
141+ "'AN'"
78142msgstr ""
79143
80144msgid ""
81145"Returns the canonical combining class assigned to the character *chr* as "
82- "integer. Returns ``0`` if no combining class is defined."
146+ "integer. Returns ``0`` if no combining class is defined. See the `Canonical "
147+ "Combining Class Values section of the Unicode Character Database <www."
148+ "unicode.org/reports/tr44/tr44-34.html#Canonical_Combining_Class_Values>`_ "
149+ "for more information."
83150msgstr ""
84151
85- msgid "Returns the east asian width assigned to the character *chr* as string."
152+ msgid ""
153+ "Returns the east asian width assigned to the character *chr* as string. For "
154+ "a list of widths and or more information, see the `Unicode Standard Annex "
155+ "#11 <https://www.unicode.org/reports/tr11/tr11-43.html>`_."
86156msgstr ""
87157
88158msgid ""
89159"Returns the mirrored property assigned to the character *chr* as integer. "
90160"Returns ``1`` if the character has been identified as a \" mirrored\" "
91- "character in bidirectional text, ``0`` otherwise."
161+ "character in bidirectional text, ``0`` otherwise. For example::"
162+ msgstr ""
163+
164+ msgid ""
165+ ">>> unicodedata.mirrored('>')\n"
166+ "1"
92167msgstr ""
93168
94169msgid ""
95170"Returns the character decomposition mapping assigned to the character *chr* "
96- "as string. An empty string is returned in case no such mapping is defined."
171+ "as string. An empty string is returned in case no such mapping is defined. "
172+ "For example::"
173+ msgstr ""
174+
175+ msgid ""
176+ ">>> unicodedata.decomposition('Ã')\n"
177+ "'0041 0303'"
97178msgstr ""
98179
99180msgid ""
@@ -124,14 +205,14 @@ msgid ""
124205"which normally would be unified with other characters. For example, U+2160 "
125206"(ROMAN NUMERAL ONE) is really the same thing as U+0049 (LATIN CAPITAL LETTER "
126207"I). However, it is supported in Unicode for compatibility with existing "
127- "character sets (e.g. gb2312)."
208+ "character sets (for example, gb2312)."
128209msgstr ""
129210
130211msgid ""
131- "The normal form KD (NFKD) will apply the compatibility decomposition, i.e. "
132- "replace all compatibility characters with their equivalents. The normal form "
133- "KC (NFKC) first applies the compatibility decomposition, followed by the "
134- "canonical composition."
212+ "The normal form KD (NFKD) will apply the compatibility decomposition, that "
213+ "is, replace all compatibility characters with their equivalents. The normal "
214+ "form KC (NFKC) first applies the compatibility decomposition, followed by "
215+ "the canonical composition."
135216msgstr ""
136217
137218msgid ""
@@ -157,9 +238,6 @@ msgid ""
157238"specific version of the Unicode database (such as IDNA)."
158239msgstr ""
159240
160- msgid "Examples:"
161- msgstr "Beispiele:"
162-
163241msgid "Footnotes"
164242msgstr "Fußnoten"
165243
0 commit comments