As the title reads, here goes a concrete example: Python comparison operators chaining/grouping left to right?. The question points to documentation for Python 2 which won't be maintained past January 1, 2020 however it is equally relevant for Python 3 which is likely the relevant version for most users visiting this question. The documentation, and the quoted part in particular, have been slightly modified from version 2 to 3. Clearly the links within the documentation itself further point visitors to the up-to-date version of content.
So should we edit such questions, updating links to documentation and any derived quotes, to match the latest version, if the question is still relevant in this new context and the edit will bring neither the question nor the answers out of their original context?