I’d like to get some confirmation, or objection in case I’m wrong, on a topic about closing questions as exact duplicate. So far, I have always voted as duplicate when the other question handles the same topic—regardless of the title of each question.
In this particular case, the question I’m voting to close is this one: What does :-1 mean in python?. It is basically about a syntax feature called “slice notation”. As the poster obviously did not know about this feature, he had no idea about its name and could not search for “slice notation”. And as we all know the search is bad with symbols, so
:-1 does not work well—similar how searching for e.g. the null coalescing operator is tricky.
I have voted to close the question because there is another one, which is a reference to said slice notation: Explain Python's slice notation. I believe that this question covers all information necessary to understand
[:-1] and even more about it.
Unfortunately, I received a comment from a user who disagrees with this. I am unsure how to respond to this now, as I was quite convinced of the reasoning behind the vote. So, what do you think?
While something similar like this was discussed before, I think this is still different as the previous discussion was about a less clear topic. In this case I think it is more clear, as the user was directly asking what said notation means.