Claudiu.Popa added the comment:

But it improves the API. It's much nicer to actually access the values returned 
by sndhdr as f.type, f.sampling_rate, f.channels than f[0], f[1], f[2]. You do 
have a point though. Would it be more acceptable if we'll provide a new 
function which returns a namedtuple and leaving `whathdr` and `what` in peace?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18615>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to