[issue27501] Add typing.py class describing a PEP 3118 buffer object

Daniel Moisset report at bugs.python.org
Wed Jul 13 14:22:50 EDT 2016


Daniel Moisset added the comment:

OK. Just to give an obvious example of a place where this would be useful for annotations is in the argument for the memoryview() builtin (currently declared with "# TODO arg can be any obj supporting the buffer protocol" in the standard library typesheds)

----------

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


More information about the Python-bugs-list mailing list