[issue21125] traceback.extract_tb says "quadruple" when it means "tuple"
New submission from Glenn Maynard:
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".
----------
assignee: docs@python
components: Documentation
messages: 215326
nosy: Glenn.Maynard, docs@python
priority: normal
severity: normal
status: open
title: traceback.extract_tb says "quadruple" when it means "tuple"
_______________________________________
Python tracker
R. David Murray added the comment:
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.
----------
nosy: +r.david.murray
_______________________________________
Python tracker
Raymond Hettinger added the comment:
I'll make the change to 4-tuple.
----------
assignee: docs@python -> rhettinger
nosy: +rhettinger
_______________________________________
Python tracker
Roundup Robot added the comment:
New changeset 1c112eb4eb56 by Raymond Hettinger in branch '2.7':
Issue 21125: minor wording tweak.
http://hg.python.org/cpython/rev/1c112eb4eb56
----------
nosy: +python-dev
_______________________________________
Python tracker
Roundup Robot added the comment:
New changeset dfa399e74fcf by Raymond Hettinger in branch '3.4':
Issue 21125: minor documentation tweak.
http://hg.python.org/cpython/rev/dfa399e74fcf
----------
_______________________________________
Python tracker
Raymond Hettinger added the comment:
Thanks for the bug report, Glenn.
----------
resolution: -> fixed
status: open -> closed
_______________________________________
Python tracker
participants (4)
-
Glenn Maynard
-
R. David Murray
-
Raymond Hettinger
-
Roundup Robot