Skip to content

Commit 2a8682c

Browse files
Commit
1 parent fbf0843 commit 2a8682c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Doc/library/unicodedata.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ following functions:
3131
this module.
3232

3333

34-
.. function:: lookup(name)
34+
.. function:: lookup(name, /)
3535

3636
Look up character by name. If a character with the given name is found, return
3737
the corresponding character. If not found, :exc:`KeyError` is raised.
@@ -94,7 +94,7 @@ following functions:
9494
0.5
9595

9696

97-
.. function:: category(chr)
97+
.. function:: category(chr, /)
9898

9999
Returns the general category assigned to the character *chr* as
100100
string. General category names consist of two letters.
@@ -106,7 +106,7 @@ following functions:
106106
'Lu'
107107

108108

109-
.. function:: bidirectional(chr)
109+
.. function:: bidirectional(chr, /)
110110

111111
Returns the bidirectional class assigned to the character *chr* as
112112
string. If no such value is defined, an empty string is returned.
@@ -118,7 +118,7 @@ following functions:
118118
'AN'
119119

120120

121-
.. function:: combining(chr)
121+
.. function:: combining(chr, /)
122122

123123
Returns the canonical combining class assigned to the character *chr*
124124
as integer. Returns ``0`` if no combining class is defined.
@@ -127,14 +127,14 @@ following functions:
127127
for more information.
128128

129129

130-
.. function:: east_asian_width(chr)
130+
.. function:: east_asian_width(chr, /)
131131

132132
Returns the east asian width assigned to the character *chr* as
133133
string. For a list of widths and or more information, see the
134134
`Unicode Standard Annex #11 <https://www.unicode.org/reports/tr11/>`_.
135135

136136

137-
.. function:: mirrored(chr)
137+
.. function:: mirrored(chr, /)
138138

139139
Returns the mirrored property assigned to the character *chr* as
140140
integer. Returns ``1`` if the character has been identified as a "mirrored"
@@ -144,7 +144,7 @@ following functions:
144144
1
145145

146146

147-
.. function:: decomposition(chr)
147+
.. function:: decomposition(chr, /)
148148

149149
Returns the character decomposition mapping assigned to the character
150150
*chr* as string. An empty string is returned in case no such mapping is
@@ -154,7 +154,7 @@ following functions:
154154
'0041 0303'
155155

156156

157-
.. function:: normalize(form, unistr)
157+
.. function:: normalize(form, unistr, /)
158158

159159
Return the normal form *form* for the Unicode string *unistr*. Valid values for
160160
*form* are 'NFC', 'NFKC', 'NFD', and 'NFKD'.
@@ -187,7 +187,7 @@ following functions:
187187
doesn't, they may not compare equal.
188188

189189

190-
.. function:: is_normalized(form, unistr)
190+
.. function:: is_normalized(form, unistr, /)
191191

192192
Return whether the Unicode string *unistr* is in the normal form *form*. Valid
193193
values for *form* are 'NFC', 'NFKC', 'NFD', and 'NFKD'.

0 commit comments

Comments
 (0)