Larry Hastings added the comment:
Yes, when I implemented optional groups, I didn't realize that sometimes people
mixed them with optional arguments (with default values). Clinic doesn't cope
well when you mix the two.
Does this work?
/*[clinic input]
_curses.window.getstr
[
y: int
Y-coordinate.
x: int
X-coordinate.
]
[
n: int
]
I'm surprised people are adding new arguments to a function like
curses.window.getstr().
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue20303>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com