code: public static PyObject adapt(Object o) {
  		if (o instanceof PyObject) {
  			return (PyObject) o;
  		}
  		return Py.java2py(o);
  	}
docs: Convert java object to its corresponding PyObject representation.
  
  @param o Java object
  @return PyObject