1 16 package org.python.util; 17 18 import java.util.Properties ; 19 20 import org.python.core.PyObject; 21 22 28 public class PythonInterpreter { 29 30 public static void initialize(Properties preProperties, 31 Properties postProperties, 32 String [] argv) { 33 throw new NoSuchMethodError ("This is a mock object"); 34 } 35 36 public void set(String string, Object obj) { 37 throw new NoSuchMethodError ("This is a mock object"); 38 } 39 40 public void exec(PyObject code) { 41 throw new NoSuchMethodError ("This is a mock object"); 42 } 43 } 44 | Popular Tags |