summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-02-17 22:11:56 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-02-17 22:11:56 (GMT)
commitcbbdfb59334362afdc78bb35f88299b6ce776314 (patch)
treebafcea3600655bdcce4ec66cbd634bfb69319505 /Doc/tools
parent7cbb78cd979b492d4e2371aa0a69e9f6df59c7cd (diff)
parentf91d845797255240ea42297d520727f93fcab44c (diff)
downloadcpython-cbbdfb59334362afdc78bb35f88299b6ce776314.zip
cpython-cbbdfb59334362afdc78bb35f88299b6ce776314.tar.gz
cpython-cbbdfb59334362afdc78bb35f88299b6ce776314.tar.bz2
Merge 3.4 (asyncio doc)
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/extensions/pyspecific.py5
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)