3 ms·
> Obviously, https://docs.python.org/3/library/stdtypes.html#str.endswith https://docs.python.org/3/library/stdtypes.html#str.endswith is the correct best hit f
by PurpleRamen 3y ago
> Obviously, https://docs.python.org/3/library/stdtypes.html#str.endswith https://docs.python.org/3/library/stdtypes.html#str.endswith is the correct best hit for that term.
Just because it's official, doesn't mean it's good documentation. The other results are significant better for this specific query. They are more elaborated, have better readability, offer examples, and don't force you to search through a long text to find the 3 lines which are relevant for you. Some even have a live-test.
The only real benefit python.org offers here is to offer more documentation about the language itself. Which is interesting for beginners, but not necessarily for everyone else.