[issue41167] Add new formats to PyArg_ParseTuple for "str or None"

Serhiy Storchaka report at bugs.python.org
Tue Jun 30 05:18:22 EDT 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I think it is more common to use the general "O" format. In any case you need to write separate code for None and str in the body of function.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41167>
_______________________________________


More information about the Python-bugs-list mailing list