Skip to main content

appstr

String used in repr etc, to id app instances.

def appstr(
app: object
) - > string

String used in repr etc, to id app instances.

Parameters

NameTypeDescription
appobjectThe application instance to be identified, which must possess a 'main' attribute.

Returns

TypeDescription
stringA formatted string containing the application's main module name (defaulting to "main") and its memory address in hexadecimal format.