From: <pj...@us...> - 2009-05-31 21:42:26
|
Revision: 6435 http://jython.svn.sourceforge.net/jython/?rev=6435&view=rev Author: pjenvey Date: 2009-05-31 21:42:09 +0000 (Sun, 31 May 2009) Log Message: ----------- remove the no longer needed exposed {str,unicode}.toString Modified Paths: -------------- trunk/jython/Lib/unicodedata.py trunk/jython/src/org/python/core/PyString.java trunk/jython/src/org/python/core/PyUnicode.java Modified: trunk/jython/Lib/unicodedata.py =================================================================== --- trunk/jython/Lib/unicodedata.py 2009-05-31 14:50:48 UTC (rev 6434) +++ trunk/jython/Lib/unicodedata.py 2009-05-31 21:42:09 UTC (rev 6435) @@ -209,7 +209,7 @@ normalizer_form = _forms[form] except KeyError: raise ValueError('invalid normalization form') - return Normalizer.normalize(unistr.toString(), normalizer_form) + return Normalizer.normalize(unistr, normalizer_form) except ImportError: pass Modified: trunk/jython/src/org/python/core/PyString.java =================================================================== --- trunk/jython/src/org/python/core/PyString.java 2009-05-31 14:50:48 UTC (rev 6434) +++ trunk/jython/src/org/python/core/PyString.java 2009-05-31 21:42:09 UTC (rev 6435) @@ -116,12 +116,6 @@ return string; } - //XXX: need doc - @ExposedMethod - final String str_toString() { - return toString(); - } - public String internedString() { if (interned) return string; Modified: trunk/jython/src/org/python/core/PyUnicode.java =================================================================== --- trunk/jython/src/org/python/core/PyUnicode.java 2009-05-31 14:50:48 UTC (rev 6434) +++ trunk/jython/src/org/python/core/PyUnicode.java 2009-05-31 21:42:09 UTC (rev 6435) @@ -1431,10 +1431,4 @@ } return sb.toString(); } - - //needs doc - @ExposedMethod/*(doc = BuiltinDocs.unicode_toString_doc)*/ - final String unicode_toString() { - return toString(); - } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |