Message208476
Currently flags for optional groups are named as group_left_N and group_right_N. It will be better if they have names use_param, use_param1_param2, etc. E.g. following declaration:
/*[clinic input]
curses.window.addstr
self: self(type="PyCursesWindowObject *")
[
y: int
Y-coordinate.
x: int
X-coordinate.
]
str: object
String to add.
[
attr: long
Attributes for the character.
]
/
[clinic start generated code]*/
Should produce signature:
static PyObject *
curses_window_addstr_impl(PyCursesWindowObject *self, int use_x_y, int y, int x, PyObject *str, int use_attr, long attr)
(Existing non-clinicalized code use use_xy and use_attr flags).
This will make the code a little cleaner. |
|
Date |
User |
Action |
Args |
2014-01-19 13:11:53 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, larry |
2014-01-19 13:11:53 | serhiy.storchaka | set | messageid: <1390137113.2.0.816137026514.issue20302@psf.upfronthosting.co.za> |
2014-01-19 13:11:53 | serhiy.storchaka | link | issue20302 messages |
2014-01-19 13:11:53 | serhiy.storchaka | create | |
|