From: <pj...@us...> - 2008-06-18 21:17:09
|
Revision: 4668 http://jython.svn.sourceforge.net/jython/?rev=4668&view=rev Author: pjenvey Date: 2008-06-18 14:16:53 -0700 (Wed, 18 Jun 2008) Log Message: ----------- __findattr__ is unnecessary here spotted by lsoto Modified Paths: -------------- trunk/jython/src/org/python/core/PyArray.java Modified: trunk/jython/src/org/python/core/PyArray.java =================================================================== --- trunk/jython/src/org/python/core/PyArray.java 2008-06-18 20:21:10 UTC (rev 4667) +++ trunk/jython/src/org/python/core/PyArray.java 2008-06-18 21:16:53 UTC (rev 4668) @@ -250,20 +250,6 @@ } /** - * Finds the attribute. - * - * @param name - * the name of the attribute of interest - * @return the value for the attribute of the specified name - */ - public PyObject __findattr__(String name) { - if("typecode".equals(name)) { - return new PyString(getTypecode()); - } - return super.__findattr__(name); - } - - /** * Length of the array * * @return number of elements in the array This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |