diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-02-17 22:11:56 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-02-17 22:11:56 (GMT) |
commit | cbbdfb59334362afdc78bb35f88299b6ce776314 (patch) | |
tree | bafcea3600655bdcce4ec66cbd634bfb69319505 /Doc/tools/extensions | |
parent | 7cbb78cd979b492d4e2371aa0a69e9f6df59c7cd (diff) | |
parent | f91d845797255240ea42297d520727f93fcab44c (diff) | |
download | cpython-cbbdfb59334362afdc78bb35f88299b6ce776314.zip cpython-cbbdfb59334362afdc78bb35f88299b6ce776314.tar.gz cpython-cbbdfb59334362afdc78bb35f88299b6ce776314.tar.bz2 |
Merge 3.4 (asyncio doc)
Diffstat (limited to 'Doc/tools/extensions')
-rw-r--r-- | Doc/tools/extensions/pyspecific.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Doc/tools/extensions/pyspecific.py b/Doc/tools/extensions/pyspecific.py index b4ec6ee..9b78184 100644 --- a/Doc/tools/extensions/pyspecific.py +++ b/Doc/tools/extensions/pyspecific.py @@ -148,17 +148,12 @@ class PyDecoratorMethod(PyDecoratorMixin, PyClassmember): class PyCoroutineMixin(object): def handle_signature(self, sig, signode): ret = super(PyCoroutineMixin, self).handle_signature(sig, signode) -# signode.insert(0, addnodes.desc_addname('coroutine ', 'coroutine ')) signode.insert(0, addnodes.desc_annotation('coroutine ', 'coroutine ')) return ret - def needs_arglist(self): - return False - class PyCoroutineFunction(PyCoroutineMixin, PyModulelevel): def run(self): - # a decorator function is a function after all self.name = 'py:function' return PyModulelevel.run(self) |