Search notes:
Python: __spec__
__spec__
is one of the names that is present in the top level scope (
__name__
== '__main__'
) as returned by
dir()
.
See also
Other dunders
Index