[Python-checkins] cpython: Issue #23226: Add linspace() recipe to the docs

raymond.hettinger python-checkins at python.org
Tue Sep 6 19:36:02 EDT 2016


https://hg.python.org/cpython/rev/bb8fe61d78a4
changeset: 103171:bb8fe61d78a4
user: Raymond Hettinger <python at rcn.com>
date: Tue Sep 06 16:35:34 2016 -0700
summary:
 Issue #23226: Add linspace() recipe to the docs
files:
 Doc/library/stdtypes.rst | 5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -1363,6 +1363,11 @@
 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
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /