Interface SysModule

All Superinterfaces:
AutoCloseable

public interface SysModule extends AutoCloseable
Java proxy module for sys.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    static SysModule
     
    int
    Deprecated.
    Users should strongly prefer to use getrefcount(PyObject).
    int
    getrefcount(org.jpy.PyObject pyObject)
    Get the reference count for an object.
  • Method Details

    • create

      static SysModule create()
    • getrefcount

      @Deprecated int getrefcount(Object o)
      Deprecated.
      Users should strongly prefer to use getrefcount(PyObject).
      Get the reference count for an object.
      Parameters:
      o - the object
      Returns:
      the reference count of the object
      See Also:
    • getrefcount

      int getrefcount(org.jpy.PyObject pyObject)
      Get the reference count for an object.
      Parameters:
      pyObject - the python object
      Returns:
      the reference count of the object
      See Also:
    • close

      void close()
      Specified by:
      close in interface AutoCloseable