From: Finn B. <bc...@us...> - 2001-02-04 20:02:33
|
Update of /cvsroot/jython/jython/org/python/modules In directory usw-pr-cvs1:/tmp/cvs-serv26870 Modified Files: codeop.java Log Message: Added an __all__ attribute to make test___all__.py happy. Index: codeop.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/modules/codeop.java,v retrieving revision 2.1 retrieving revision 2.2 diff -C2 -r2.1 -r2.2 *** codeop.java 1999/05/17 19:55:20 2.1 --- codeop.java 2001/02/04 15:08:03 2.2 *************** *** 5,8 **** --- 5,12 ---- public class codeop { + public static PyList __all__ = new PyList(new PyString[] { + new PyString("compile_command") + }); + public static PyObject compile_command(String string) { return compile_command(string, "<input>", "single"); |