Class PyVersionInfo

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable, java.util.Collection, java.util.List, Traverseproc

    public class PyVersionInfo
    extends PyTuple
    See Also:
    Serialized Form
    • Method Detail

      • __reduce__

        public PyObject __reduce__()
        Used for pickling.
        Overrides:
        __reduce__ in class PyObject
        Returns:
        a tuple of (class, tuple)
      • __repr__

        public PyString __repr__()
        Description copied from class: PyObject
        Equivalent to the standard Python __repr__ method. This method should not typically need to be overrriden. The easiest way to configure the string representation of a PyObject is to override the standard Java toString method.
        Overrides:
        __repr__ in class PyObject