[docs] [issue16174] Fix suggested usage of dummy_threading module

Berker Peksag report at bugs.python.org
Tue Oct 9 12:32:30 CEST 2012

New submission from Berker Peksag:

The suggested usage should be like this:

        import threading
    except ImportError:
        import dummy_threading as threading

- http://hg.python.org/cpython/file/ce0d0d052494/Lib/queue.py#l3
- http://hg.python.org/cpython/file/ce0d0d052494/Lib/sched.py#l34
- http://hg.python.org/cpython/file/ce0d0d052494/Lib/socketserver.py#l137

assignee: docs at python
components: Documentation
files: fix-dummy-threading-usage.diff
keywords: patch
messages: 172472
nosy: berker.peksag, docs at python
priority: normal
severity: normal
status: open
title: Fix suggested usage of dummy_threading module
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file27505/fix-dummy-threading-usage.diff

Python tracker <report at bugs.python.org>

More information about the docs mailing list