]> granicus.if.org Git - python/commitdiff
Issue #23226: Add linspace() recipe to the docs
authorRaymond Hettinger <python@rcn.com>
Tue, 6 Sep 2016 23:35:34 +0000 (16:35 -0700)
committerRaymond Hettinger <python@rcn.com>
Tue, 6 Sep 2016 23:35:34 +0000 (16:35 -0700)
Doc/library/stdtypes.rst

index 0c7249d96effb520bfdd62c2bdb6e1dc290760b5..214422d10b2920104b7f714fc485aa30fefae2bd 100644 (file)
@@ -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