Functions

  finalize ()
  init ()
  link_type_to_string (link_type)

Details

Devhelp.finalize()

Free the resources allocated by Devhelp. For example it unrefs the singleton objects.

It is not mandatory to call this function, it’s just to be friendlier to memory debugging tools. This function is meant to be called at the end of main(). It can be called several times.

New in version 3.26.

Devhelp.init()

Initializes the Devhelp library (e.g. for the internationalization).

This function can be called several times, but is meant to be called at the beginning of main(), before any other Devhelp function call.

Parameters:link_type (Devhelp.LinkType) – a Devhelp.LinkType.
Returns:a string representation of the Devhelp.LinkType, translated in the current language.
Return type:str