[Python-Dev] cpython: Issue #20172: Convert the winsound module to Argument Clinic.

Zachary Ware zachary.ware+pydev at gmail.com
Wed May 13 17:02:11 CEST 2015


On Wed, May 13, 2015 at 1:50 AM, Serhiy Storchaka <storchaka at gmail.com> wrote:
> On 13.05.15 09:32, zach.ware wrote:
>>
>> https://hg.python.org/cpython/rev/d3582826d24c
>> changeset:   96006:d3582826d24c
>> user:        Zachary Ware <zachary.ware at gmail.com>
>> date:        Wed May 13 01:21:21 2015 -0500
>> summary:
>>    Issue #20172: Convert the winsound module to Argument Clinic.
>
>
>> +/*[clinic input]
>> +winsound.PlaySound
>> +
>> +    sound: Py_UNICODE(nullable=True)
>
>
> I think this is no longer correct syntax. Should be Py_UNICODE(accept={str,
> NoneType}).

Oh, whoops.  I forgot to run clinic over things again before committing.

We need to stick that into the Windows build process somewhere...

-- 
Zach


More information about the Python-Dev mailing list