[issue24001] Clinic: use raw types in types= set

Larry Hastings report at bugs.python.org
Mon Apr 20 20:03:57 CEST 2015


Larry Hastings added the comment:

Attached is a patch implementing all my proposed changes here:

* "types" is now renamed "accept"
* it accepts a set of real Python types
* there are placeholder types for buffer, robuffer, rwbuffer
* "nullable=True" is gone, replaced with adding NoneType to accept={}

----------
Added file: http://bugs.python.org/file39145/larry.clinic.use.raw.types.3.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24001>
_______________________________________


More information about the Python-bugs-list mailing list