public combinationsWithReplacementDerived(PyType subtype) {
   super(subtype);
   slots = new PyObject[subtype.getNumSlots()];
   dict = subtype.instDict();
   if (subtype.needsFinalizer()) {
     FinalizeTrigger.ensureFinalizer(this);
   }
 }
Example #2
0
 public WithDerived(PyType subtype) {
   super(subtype);
   slots = new PyObject[subtype.getNumSlots()];
   dict = subtype.instDict();
 }
 public PyFileIODerived(PyType subtype, PyObject file, OpenMode mode, boolean closefd) {
   super(subtype, file, mode, closefd);
   slots = new PyObject[subtype.getNumSlots()];
 }
 public PyLocalDerived(PyType subtype) {
   super(subtype);
   slots = new PyObject[subtype.getNumSlots()];
 }