summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-09-06 23:35:34 (GMT)
committerRaymond Hettinger <python@rcn.com>2016-09-06 23:35:34 (GMT)
commite256accd46af74d2695117e62361fe7ae9dfdfe3 (patch)
treede17f76913c66bc2feb3207b61b2fcacab030bc1 /Doc
parent59a0464af471b1f19ca267293a35323cbd7df0e7 (diff)
downloadcpython-e256accd46af74d2695117e62361fe7ae9dfdfe3.zip
cpython-e256accd46af74d2695117e62361fe7ae9dfdfe3.tar.gz
cpython-e256accd46af74d2695117e62361fe7ae9dfdfe3.tar.bz2
Issue #23226: Add linspace() recipe to the docs
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/stdtypes.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 0c7249d..214422d 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -1363,6 +1363,11 @@ objects that compare equal might have different :attr:`~range.start`,
The :attr:`~range.start`, :attr:`~range.stop` and :attr:`~range.step`
attributes.
+.. seealso::
+
+ * The `linspace recipe <http://code.activestate.com/recipes/579000/>`_
+ shows how to implement a lazy version of range that suitable for floating
+ point applications.
.. index::
single: string; text sequence type