This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: traceback.extract_tb says "quadruple" when it means "tuple"
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: Glenn.Maynard, docs@python, python-dev, r.david.murray, rhettinger
Priority: normal Keywords:

Created on 2014-04-01 15:36 by Glenn.Maynard, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (6)
msg215326 - (view) Author: Glenn Maynard (Glenn.Maynard) Date: 2014-04-01 15:36
https://docs.python.org/2/library/traceback.html

"A “pre-processed” stack trace entry is a quadruple (filename, line number, function name, text) representing the information that is usually printed for a stack trace."

There's no such thing as a "quadruple".  This should be "tuple".
msg215330 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2014-04-01 16:02
A google for quadruple got me wikipedia as the first hit, with this as the match text:

    "Quadruple may refer to: A 4-tuple, ..."

So, it's tech-speak.  The alternative would be to say either "a 4-tuple" or "a tuple of four elements".  I'm fine with someone making that change, but I don't think it is terrible that the word is used the way it is.
msg215353 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2014-04-02 05:07
I'll make the change to 4-tuple.
msg215354 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-04-02 05:11
New changeset 1c112eb4eb56 by Raymond Hettinger in branch '2.7':
Issue 21125: minor wording tweak.
http://hg.python.org/cpython/rev/1c112eb4eb56
msg215355 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-04-02 05:18
New changeset dfa399e74fcf by Raymond Hettinger in branch '3.4':
Issue 21125: minor documentation tweak.
http://hg.python.org/cpython/rev/dfa399e74fcf
msg215356 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2014-04-02 05:19
Thanks for the bug report, Glenn.
History
Date User Action Args
2022-04-11 14:58:01adminsetgithub: 65324
2014-04-02 05:19:10rhettingersetstatus: open -> closed
resolution: fixed
messages: + msg215356
2014-04-02 05:18:13python-devsetmessages: + msg215355
2014-04-02 05:11:44python-devsetnosy: + python-dev
messages: + msg215354
2014-04-02 05:07:33rhettingersetassignee: docs@python -> rhettinger

messages: + msg215353
nosy: + rhettinger
2014-04-01 16:02:28r.david.murraysetnosy: + r.david.murray
messages: + msg215330
2014-04-01 15:36:16Glenn.Maynardcreate