Commit 8a710dc4 authored by Georg Brandl's avatar Georg Brandl

Add renaming notices to thread and dummy_thread.

parent dcc86204
:mod:`dummy_thread` --- Drop-in replacement for the :mod:`thread` module :mod:`dummy_thread` --- Drop-in replacement for the :mod:`thread` module
======================================================================== ========================================================================
.. module:: dummy_thread .. module:: dummy_thread
:synopsis: Drop-in replacement for the thread module. :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 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 meant to be imported when the :mod:`thread` module is not provided on a
......
:mod:`thread` --- Multiple threads of control :mod:`thread` --- Multiple threads of control
============================================= =============================================
.. module:: thread .. module:: thread
:synopsis: Create multiple threads of control within one interpreter. :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:: .. index::
single: light-weight processes single: light-weight processes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment