Skip to content
GitLab
Menu
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
2526b578
Commit
2526b578
authored
Jun 08, 2021
by
Andi Vajda
Browse files
formatting
parent
bfb1e6c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
messagepattern.cpp
View file @
2526b578
...
...
@@ -98,10 +98,10 @@ static PyObject *t_messagepattern_part_getArgType(t_messagepattern_part *self)
static
PyObject
*
t_messagepattern_part_str
(
t_messagepattern_part
*
self
)
{
return
PyString_FromFormat
(
"([%d:%d] type=%d, arg=%d, val=%d)"
,
(
int
)
self
->
object
->
getIndex
(),
(
int
)
self
->
object
->
getLimit
(),
(
int
)
self
->
object
->
getType
(),
(
int
)
self
->
object
->
getArgType
(),
(
int
)
self
->
object
->
getValue
());
"([%d:%d] type=%d, arg=%d, val=%d)"
,
(
int
)
self
->
object
->
getIndex
(),
(
int
)
self
->
object
->
getLimit
(),
(
int
)
self
->
object
->
getType
(),
(
int
)
self
->
object
->
getArgType
(),
(
int
)
self
->
object
->
getValue
());
}
/* MessagePattern */
...
...
test/test_MessagePattern.py
View file @
2526b578
# -*- coding: utf-8 -*-
# ====================================================================
# Copyright (c) 20
05
-201
0
Open Source Applications Foundation.
# Copyright (c) 20
21
-20
2
1 Open Source Applications Foundation.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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