Top Fields Constructors Methods
org.python.core

public Class PyVersionInfo

extends PyTuple
Class Inheritance
Annotations
@ExposedType
name:sys.version_info
isBaseType:false
Imports
org.python.expose.ExposedGet, .ExposedMethod, .ExposedNew, .ExposedType

Field Summary

Modifier and TypeField and Description
public PyObject
public PyObject
public PyObject
public static final int
public static final int
public static final int
public PyObject
public PyObject
public static final PyType

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public PyTuple
public PyObject

Returns:

a tuple of (class, tuple)
__reduce__
()

Overrides org.python.core.PyObject.__reduce__.

Used for pickling.

public PyString
__repr__()

Overrides org.python.core.PyObject.__repr__.

Equivalent to the standard Python __repr__ method.

pack-priv final PyObject
pack-priv static final PyObject
version_info_new(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)

Inherited from org.python.core.PyTuple:
__add____iter____len____mul____rmul__addaddaddAlladdAllclearcontainscontainsAllcountequalsfromIterablegetgetArraygetListgetslicehashCodeindexindexindexindexOfisEmptyiteratorlastIndexOflistIteratorlistIteratorpyaddpyaddpygetpysetrefersDirectlyToremoveremoveremoveremoveAllrepeatretainAllsetsizesubListtoArraytoArraytoStringtraversetuple___add__tuple___contains__tuple___eq__tuple___ge__tuple___getitem__tuple___getnewargs__tuple___getslice__tuple___gt__tuple___hash__tuple___iter__tuple___le__tuple___len__tuple___lt__tuple___mul__tuple___ne__tuple___repr__tuple___rmul__tuple_counttuple_indextuple_indextuple_newunsupportedopMessage

Field Detail

majorback to summary
public PyObject major
Annotations
@ExposedGet
microback to summary
public PyObject micro
Annotations
@ExposedGet
minorback to summary
public PyObject minor
Annotations
@ExposedGet
n_fieldsback to summary
public static final int n_fields
Annotations
@ExposedGet
n_sequence_fieldsback to summary
public static final int n_sequence_fields
Annotations
@ExposedGet
n_unnamed_fieldsback to summary
public static final int n_unnamed_fields
Annotations
@ExposedGet
releaselevelback to summary
public PyObject releaselevel
Annotations
@ExposedGet
serialback to summary
public PyObject serial
Annotations
@ExposedGet
TYPEback to summary
public static final PyType TYPE

Hides org.python.core.PyTuple.TYPE.

Constructor Detail

PyVersionInfoback to summary
pack-priv PyVersionInfo(PyObject... vals)

Method Detail

__getnewargs__back to summary
public PyTuple __getnewargs__()

Overrides org.python.core.PyTuple.__getnewargs__.

Annotations
@Override
__reduce__back to summary
public PyObject __reduce__()

Overrides org.python.core.PyObject.__reduce__.

Used for pickling.

Returns:PyObject

a tuple of (class, tuple)

Annotations
@Override

__repr__back to summary
public PyString __repr__()

Overrides org.python.core.PyObject.__repr__.

Doc from org.python.core.PyObject.__repr__.

Equivalent to the standard Python __repr__ method. Each sub-class of PyObject is likely to re-define this method to provide for its own reproduction.

Annotations
@Override
version_info___reduce__back to summary
pack-priv final PyObject version_info___reduce__()
Annotations
@ExposedMethod
version_info_newback to summary
pack-priv static final PyObject version_info_new(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)
Annotations
@ExposedNew