Skip to main content

py_string_str

No overview available.

def py_string_str(
self: PyObject*
) - > string

Returns the string representation of a Python string object, typically used for converting internal string structures to a standard Python string format.

Parameters

NameTypeDescription
selfPyObject*A pointer to the Python string object to be converted.

Returns

TypeDescription
stringThe underlying character data of the Python string object.