Commit 7f1a6a84 authored by Denis Bilenko's avatar Denis Bilenko

thread: add note in docstring

parent 978e14bc
"""Implementation of the standard :mod:`thread` module that spawns greenlets"""
"""Implementation of the standard :mod:`thread` module that spawns greenlets.
.. note::
This module is a helper for :mod:`gevent.monkey` and is not intended to be
used directly. For spawning greenlets in your applications, prefer
:class:`Greenlet` class.
"""
__thread = __import__('thread')
from gevent.hub import getcurrent, GreenletExit
from gevent.greenlet import Greenlet
......
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