Skip to content

Commit

Permalink
Fix sphinx deprecation warning about env.note_versionchange()
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogsal committed May 10, 2019
1 parent 86ea581 commit 6947483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/tools/extensions/pyspecific.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def run(self):
translatable=False)
node.append(para)
env = self.state.document.settings.env
env.note_versionchange('deprecated', version[0], node, self.lineno)
env.get_domain('changeset').note_changeset(node)
return [node] + messages


Expand Down

0 comments on commit 6947483

Please sign in to comment.