summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-05-10 21:58:17 (GMT)
committerGitHub <noreply@github.com>2019-05-10 21:58:17 (GMT)
commit960bb883769e5c64a63b014590d75654db87ffb0 (patch)
treed76a46b867029af7528db36dca1cd637b1282ea3 /Doc
parent09532feeece39d5ba68a0d47115ce1967bfbd58e (diff)
downloadcpython-960bb883769e5c64a63b014590d75654db87ffb0.zip
cpython-960bb883769e5c64a63b014590d75654db87ffb0.tar.gz
cpython-960bb883769e5c64a63b014590d75654db87ffb0.tar.bz2
Fix sphinx deprecation warning about env.note_versionchange() (GH-13236)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tools/extensions/pyspecific.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/extensions/pyspecific.py b/Doc/tools/extensions/pyspecific.py
index 6631743..e097c13 100644
--- a/Doc/tools/extensions/pyspecific.py
+++ b/Doc/tools/extensions/pyspecific.py
@@ -271,7 +271,7 @@ class DeprecatedRemoved(Directive):
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