Update of /cvsroot/jython/jython/org/python/modules
In directory usw-pr-cvs1:/tmp/cvs-serv28819
Modified Files:
thread.java
Log Message:
Added docstring.
Index: thread.java
===================================================================
RCS file: /cvsroot/jython/jython/org/python/modules/thread.java,v
retrieving revision 2.3
retrieving revision 2.4
diff -C2 -r2.3 -r2.4
*** thread.java 2001/02/02 11:29:42 2.3
--- thread.java 2001/03/13 20:28:10 2.4
***************
*** 28,31 ****
--- 28,36 ----
public class thread implements ClassDictInit
{
+ public static PyString __doc__ = new PyString(
+ "This module provides primitive operations to write multi-threaded programs.\n" +
+ "The 'threading' module provides a more convenient interface."
+ );
+
public static void classDictInit(PyObject dict) {
dict.__setitem__("LockType", PyJavaClass.lookup(PyLock.class));
|