Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
main
pyicu
Commits
25bbb885
Commit
25bbb885
authored
Nov 17, 2022
by
Andi Vajda
Browse files
switch S to U in PluralFormat.format
parent
008fc841
Changes
1
Hide whitespace changes
Inline
Side-by-side
format.cpp
View file @
25bbb885
...
...
@@ -1745,25 +1745,25 @@ static PyObject *t_pluralformat_format(t_pluralformat *self, PyObject *args)
}
break
;
case
2
:
if
(
!
parseArgs
(
args
,
"i
S
"
,
&
n
,
&
u
,
&
_u
))
if
(
!
parseArgs
(
args
,
"i
U
"
,
&
n
,
&
u
,
&
_u
))
{
STATUS_CALL
(
self
->
object
->
format
(
n
,
*
u
,
_fp
,
status
));
Py_RETURN_ARG
(
args
,
1
);
}
if
(
!
parseArgs
(
args
,
"d
S
"
,
&
d
,
&
u
,
&
_u
))
if
(
!
parseArgs
(
args
,
"d
U
"
,
&
d
,
&
u
,
&
_u
))
{
STATUS_CALL
(
self
->
object
->
format
(
d
,
*
u
,
_fp
,
status
));
Py_RETURN_ARG
(
args
,
1
);
}
break
;
case
3
:
if
(
!
parseArgs
(
args
,
"i
S
P"
,
TYPE_CLASSID
(
FieldPosition
),
if
(
!
parseArgs
(
args
,
"i
U
P"
,
TYPE_CLASSID
(
FieldPosition
),
&
n
,
&
u
,
&
_u
,
&
fp
))
{
STATUS_CALL
(
self
->
object
->
format
(
n
,
*
u
,
*
fp
,
status
));
Py_RETURN_ARG
(
args
,
1
);
}
if
(
!
parseArgs
(
args
,
"d
S
P"
,
TYPE_CLASSID
(
FieldPosition
),
if
(
!
parseArgs
(
args
,
"d
U
P"
,
TYPE_CLASSID
(
FieldPosition
),
&
d
,
&
u
,
&
_u
,
&
fp
))
{
STATUS_CALL
(
self
->
object
->
format
(
d
,
*
u
,
*
fp
,
status
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment