Raymond Hettinger <[email protected]> added the comment: > What is a reason of making req_rate a named tuple?
I don't know the original reason but it seems like a normal use of named tuples to make the data more self-describing to help with debugging and also to support field access by name, rr.requests or rr.seconds is clearer than rr[0] or rr[1]. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue31325> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
