No, Python doesn't have header documents nor comparative. Neither does Java, regardless of your suggestion that it does.
All things considered, we use "docstrings" in Python to make it simpler to discover and utilize our interfaces (with the builtin help() work).
Wanna become a Python expert? Come and join the python certification course and get certified.