From 6109466a8f846ed3e089adfa3d32db30d724b543 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sat, 2 Mar 2019 12:25:07 +0900 Subject: [PATCH] Stop to access env.versionchanged because of deprecated --- sphinx/environment/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sphinx/environment/__init__.py b/sphinx/environment/__init__.py index e2e4d7ab828..3e34067063b 100644 --- a/sphinx/environment/__init__.py +++ b/sphinx/environment/__init__.py @@ -311,10 +311,6 @@ def merge_info_from(self, docnames, other, app): if docname in other.reread_always: self.reread_always.add(docname) - for version, changes in other.versionchanges.items(): - self.versionchanges.setdefault(version, []).extend( - change for change in changes if change[1] in docnames) - for domainname, domain in self.domains.items(): domain.merge_domaindata(docnames, other.domaindata[domainname]) app.emit('env-merge-info', self, docnames, other)