Return full type name of the supplied entity.
- Parameters
- cls
type
or object
Entity from which to obtain the full name. Can be an instance
or a type
.
- Returns
- name
str
Full name of type.
Notes
Builtins are returned without the builtins
specifier included. This
allows str
to be returned as “str” rather than “builtins.str”.