summaryrefslogtreecommitdiff
path: root/Objects
diff options
context:
space:
mode:
authorPaul Ganssle <paul@ganssle.io>2019-09-12 03:50:29 +0100
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2019-09-11 19:50:29 -0700
commit2bb6bf0c8cf863c057027b10751c0fb74189871f (patch)
treebd5f418d35e71fdd9d9217e844bbc8fbb5c3262f /Objects
parenta5a7102636de82e0687af7131357762337d49c7c (diff)
downloadcpython-git-2bb6bf0c8cf863c057027b10751c0fb74189871f.tar.gz
bpo-38096: Clean up the "struct sequence" / "named tuple" docs (GH-15895) (GH-15961)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/floatobject.c2
-rw-r--r--Objects/longobject.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index 15cbe5c9d8..d909e415c1 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -43,7 +43,7 @@ static PyTypeObject FloatInfoType;
PyDoc_STRVAR(floatinfo__doc__,
"sys.float_info\n\
\n\
-A structseq holding information about the float type. It contains low level\n\
+A named tuple holding information about the float type. It contains low level\n\
information about the precision and internal representation. Please study\n\
your system's :file:`float.h` for more information.");
diff --git a/Objects/longobject.c b/Objects/longobject.c
index 50ea2a4e54..708934c51f 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -5771,7 +5771,7 @@ static PyTypeObject Int_InfoType;
PyDoc_STRVAR(int_info__doc__,
"sys.int_info\n\
\n\
-A struct sequence that holds information about Python's\n\
+A named tuple that holds information about Python's\n\
internal representation of integers. The attributes are read only.");
static PyStructSequence_Field int_info_fields[] = {