Update of /cvsroot/jython/jython/org/python/core
In directory usw-pr-cvs1:/tmp/cvs-serv2480
Modified Files:
PyObject.java
Log Message:
Reformatted most comments to follow javasoft stadard.
Added javadoc comments to a few methods.
Index: PyObject.java
===================================================================
RCS file: /cvsroot/jython/jython/org/python/core/PyObject.java,v
retrieving revision 2.20
retrieving revision 2.21
diff -C2 -r2.20 -r2.21
*** PyObject.java 2001/02/02 09:28:37 2.20
--- PyObject.java 2001/02/25 16:58:26 2.21
***************
*** 3,14 ****
/**
! All objects known to the JPython runtime system are represented
! by an instance of the class <code>PyObject</code> or one of
! its subclasses.
!
! @author Jim Hugunin - hu...@py...
! @version 1.1, 1/5/98
! @since JPython 0.0
! **/
[...1819 lines suppressed...]
! interned string!
! @param arg1 the first argument of the method.
! @param arg2 the second argument of the method.
! @return the result of calling the method name with arg1 and arg2
! **/
public PyObject invoke(String name, PyObject arg1, PyObject arg2) {
PyObject f = __getattr__(name);
--- 2023,2034 ----
/**
! * Shortcut for calling a method on a PyObject with two args.
! *
! * @param name the name of the method to call. This must be an
! * interned string!
! * @param arg1 the first argument of the method.
! * @param arg2 the second argument of the method.
! * @return the result of calling the method name with arg1 and arg2
! **/
public PyObject invoke(String name, PyObject arg1, PyObject arg2) {
PyObject f = __getattr__(name);
|