Commit 8e7381f8 authored by Jason Madden's avatar Jason Madden

versionXXX directives take two colons. [skip ci]

parent 18751514
......@@ -508,7 +508,7 @@ class Greenlet(greenlet):
def _run(self):
"""Subclasses may override this method to take any number of arguments and keyword arguments.
.. versionadded: 1.1a3
.. versionadded:: 1.1a3
Previously, if no callable object was passed to the constructor, the spawned greenlet would
later fail with an AttributeError.
"""
......
......@@ -230,7 +230,7 @@ if hasattr(os, 'fork'):
Availability: POSIX.
.. versionadded: 1.1a3
.. versionadded:: 1.1a3
"""
# XXX Does not handle tracing children
if pid <= 0:
......@@ -285,7 +285,7 @@ if hasattr(os, 'fork'):
Pass the builtin :func:`os.fork` function if you do not need to
initialize gevent in the child process.
.. versionadded: 1.1a3
.. versionadded:: 1.1a3
"""
pid = fork()
if pid:
......@@ -309,6 +309,8 @@ if hasattr(os, 'fork'):
This implementation of ``fork`` is a wrapper for :func:`fork_and_watch`
when the environment variable ``GEVENT_NOWAITPID`` is *not* defined.
This is the default and should be used by most applications.
.. versionchanged:: 1.1b2
"""
# take any args to match fork_and_watch
return fork_and_watch(*args, **kwargs)
......
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