What is __qualname__ in Python?
22:32 25 Sep 2019

What is __qualname__ in Python, and how is it useful? Why would I need to use it over __name__?

I read the docs, but they didn't help me get a clear understanding on its usefulness.

I have also read Get fully qualified name of a Python class (Python 3.3+). That question asks how to get a qualified name, which presumes that one knows the meaning of "qualified name". Obviously, the answer to that question is to use the __qualname__ attribute.

python