Author: Matti Picus <[email protected]>
Branch: cpyext-pickle
Changeset: r84850:517600b327d9
Date: 2016-06-01 00:06 +0300
http://bitbucket.org/pypy/pypy/changeset/517600b327d9/
Log: fix translation
diff --git a/pypy/module/cpyext/__init__.py b/pypy/module/cpyext/__init__.py
--- a/pypy/module/cpyext/__init__.py
+++ b/pypy/module/cpyext/__init__.py
@@ -22,7 +22,7 @@
def startup(self, space):
space.fromcache(State).startup(space)
method = pypy.module.cpyext.typeobject.get_new_method_def(space)
- w_obj = pypy.module.cpyext.methodobject.W_PyCFunctionObject(space,
method, '')
+ w_obj = pypy.module.cpyext.methodobject.W_PyCFunctionObject(space,
method, space.wrap(''))
add_pickle_key(space, space.type(w_obj))
def register_atexit(self, function):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit