The Python Language Reference 3.11.1 mentions a str() function as:
Some operations are supported by several object types; in particular, practically all objects can be compared for equality, tested for truth value, and converted to a string (with the repr() function or the slightly different str() function).
How is this different from the class str? Or, when I write
str()
What is called? The function or the class?