summaryrefslogtreecommitdiff
path: root/Objects
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2019-09-11 07:17:32 -0700
committerPaul Ganssle <paul@ganssle.io>2019-09-11 15:17:32 +0100
commit7117074410118086938044c7a4ef6846ec1662b2 (patch)
tree0c117546203e392b28a3388037227f5b493261e1 /Objects
parent7b69069e9aa0047a0dbe8af1a67aa2b355dc68d8 (diff)
downloadcpython-git-7117074410118086938044c7a4ef6846ec1662b2.tar.gz
bpo-38096: Clean up the "struct sequence" / "named tuple" docs (GH-15895)
* bpo-38096: Clean up the "struct sequence" / "named tuple" docs * Fix remaining occurrences of "struct sequence" * Repair a user visible docstring
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 6643ff340e..20b7f5120b 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 ed25e0bee3..6afec180a5 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -5780,7 +5780,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[] = {