Add renaming notices to thread and dummy_thread.

This commit is contained in:
Georg Brandl 2008-05-25 12:34:57 +00:00
parent dcc86204eb
commit 8a710dc441
2 changed files with 12 additions and 2 deletions

View File

@ -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

View File

@ -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