impure functiondestructor

Release memory

Information

Destructor that frees the memory of the object PythonObject.

Inputs

TypeNameDefaultDescription
PythonObjectpytObj

Revisions

  • September 19, 2025, by Michael Wetter:
    Updated to Python 3.12.
  • August 27, 2021, by Michael Wetter:
    Updated to Python 3.8.
  • April 10, 2020, by Jianjun Hu and Michael Wetter:
    Updated to Python 3.6.
  • March 06, 2020, by Jianjun Hu:
    Upgraded python version from 2.7 to 3.6.
    This is for issue 1760.
  • January 31, 2018, by Michael Wetter and Thierry Nouidui:
    First implementation.