summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-25 12:34:57 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-25 12:34:57 (GMT)
commit8a710dc4419b353f14116260fa5f3db05a079c4f (patch)
tree481c416ee6d1c5660c1c55648b4f6dcf1139c2e9
parentdcc86204eb844b3f2cf36c898ba0c1ad4def02b1 (diff)
downloadcpython-8a710dc4419b353f14116260fa5f3db05a079c4f.zip
cpython-8a710dc4419b353f14116260fa5f3db05a079c4f.tar.gz
cpython-8a710dc4419b353f14116260fa5f3db05a079c4f.tar.bz2
Add renaming notices to thread and dummy_thread.
-rw-r--r--Doc/library/dummy_thread.rst7
-rw-r--r--Doc/library/thread.rst7
2 files changed, 12 insertions, 2 deletions
diff --git a/Doc/library/dummy_thread.rst b/Doc/library/dummy_thread.rst
index 0b2cb17..5d89760 100644
--- a/Doc/library/dummy_thread.rst
+++ b/Doc/library/dummy_thread.rst
@@ -1,10 +1,15 @@
-
:mod:`dummy_thread` --- Drop-in replacement for the :mod:`thread` module
========================================================================
.. module:: dummy_thread
:synopsis: Drop-in replacement for the thread module.
+.. note::
+ The :mod:`dummy_thread` module has been renamed to :mod:`_dummy_thread` in
+ Python 3.0. The :term:`2to3` tool will automatically adapt imports when
+ converting your sources to 3.0; however, you should consider using the
+ high-lever :mod:`dummy_threading` module instead.
+
This module provides a duplicate interface to the :mod:`thread` module. It is
meant to be imported when the :mod:`thread` module is not provided on a
diff --git a/Doc/library/thread.rst b/Doc/library/thread.rst
index b0e55ea..60812c9 100644
--- a/Doc/library/thread.rst
+++ b/Doc/library/thread.rst
@@ -1,10 +1,15 @@
-
:mod:`thread` --- Multiple threads of control
=============================================
.. module:: thread
:synopsis: Create multiple threads of control within one interpreter.
+.. note::
+ The :mod:`thread` module has been renamed to :mod:`_thread` in Python 3.0.
+ The :term:`2to3` tool will automatically adapt imports when converting your
+ sources to 3.0; however, you should consider using the high-lever
+ :mod:`threading` module instead.
+
.. index::
single: light-weight processes