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 a6e956b commit beed84cCopy full SHA for beed84c
1 file changed
Doc/tools/extensions/pyspecific.py
@@ -141,9 +141,10 @@ class Availability(Directive):
141
final_argument_whitespace = True
142
143
def run(self):
144
- pnode = nodes.paragraph(classes=['availability'])
145
- n, m = self.state.inline_text(':ref:`Availability <availability>`: ',
146
- self.lineno)
+ availability_ref = ':ref:`Availability <availability>`: '
+ pnode = nodes.paragraph(availability_ref + self.arguments[0],
+ classes=["availability"],)
147
+ n, m = self.state.inline_text(availability_ref, self.lineno)
148
pnode.extend(n + m)
149
n, m = self.state.inline_text(self.arguments[0], self.lineno)
150
0 commit comments