Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4088ad9 commit e170ed2Copy full SHA for e170ed2
1 file changed
Doc/tools/extensions/pyspecific.py
@@ -148,17 +148,12 @@ def run(self):
148
class PyCoroutineMixin(object):
149
def handle_signature(self, sig, signode):
150
ret = super(PyCoroutineMixin, self).handle_signature(sig, signode)
151
-# signode.insert(0, addnodes.desc_addname('coroutine ', 'coroutine '))
152
signode.insert(0, addnodes.desc_annotation('coroutine ', 'coroutine '))
153
return ret
154
155
- def needs_arglist(self):
156
- return False
157
-
158
159
class PyCoroutineFunction(PyCoroutineMixin, PyModulelevel):
160
def run(self):
161
- # a decorator function is a function after all
162
self.name = 'py:function'
163
return PyModulelevel.run(self)
164
0 commit comments