[lang-ref] ( type_name ) ( python )

def test_type_name():
    x = 'a'
    type(x).__name__ == 'str'