[pypy-svn] rev 2463 - pypy/trunk/src/pypy/objspace/std
guenter at codespeak.net
guenter at codespeak.net
Wed Dec 17 20:09:46 CET 2003
Author: guenter
Date: Wed Dec 17 20:09:45 2003
New Revision: 2463
Modified:
pypy/trunk/src/pypy/objspace/std/stringtype.py
Log:
neue Methode translate
Modified: pypy/trunk/src/pypy/objspace/std/stringtype.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/stringtype.py (original)
+++ pypy/trunk/src/pypy/objspace/std/stringtype.py Wed Dec 17 20:09:45 2003
@@ -37,6 +37,7 @@
str_expandtabs = MultiMethod('expandtabs', 2, defaults=(8,))
str_splitlines = MultiMethod('splitlines', 2, defaults=(0,))
str_startswith = MultiMethod('startswith', 2) #[optional arguments not supported now]
+ str_translate = MultiMethod('translate', 3, defaults=('',)) #unicode mimic not supported now
registerimplementation(W_StringType)
More information about the Pypy-commit
mailing list