This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author larry
Recipients larry, serhiy.storchaka
Date 2015-05-05.11:42:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430826134.16.0.768031001698.issue20303@psf.upfronthosting.co.za>
In-reply-to
Content
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().
History
Date User Action Args
2015-05-05 11:42:14larrysetrecipients: + larry, serhiy.storchaka
2015-05-05 11:42:14larrysetmessageid: <1430826134.16.0.768031001698.issue20303@psf.upfronthosting.co.za>
2015-05-05 11:42:14larrylinkissue20303 messages
2015-05-05 11:42:13larrycreate