01: package org.python.modules.sets;
02:
03: import org.python.core.ClassDictInit;
04: import org.python.core.Py;
05: import org.python.core.PyObject;
06:
07: public class Sets implements ClassDictInit {
08: private Sets() {
09: }
10:
11: public static void classDictInit(PyObject dict) {
12: dict.__setitem__("Set", Py.java2py(PySet.class));
13: dict.__setitem__("ImmutableSet", Py
14: .java2py(PyImmutableSet.class));
15: }
16: }
|