Stefan Krah <ste...@bytereef.org> added the comment:
The funny thing is that array() already knows this: >>> import array >>> a = array.array("u", "123") >>> memoryview(a).format 'w' ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36299> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com