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

Serhiy Storchaka storchaka at gmail.com
Wed May 13 08:50:24 CEST 2015


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}).




More information about the Python-Dev mailing list