Author: Ronan Lamy <[email protected]>
Branch: 
Changeset: r92546:d56dadcef996
Date: 2017-10-02 01:52 +0200
http://bitbucket.org/pypy/pypy/changeset/d56dadcef996/

Log:    Fix translation

diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py
--- a/pypy/module/cpyext/slotdefs.py
+++ b/pypy/module/cpyext/slotdefs.py
@@ -776,7 +776,7 @@
     def __init__(self, method_name, slot_name, function, wrapper1, wrapper2, 
doc):
         self.method_name = method_name
         self.slot_name = slot_name
-        self.slot_names = ("c_" + slot_name).split(".")
+        self.slot_names = tuple(("c_" + slot_name).split("."))
         self.slot_func = function
         self.wrapper_func = wrapper1
         self.wrapper_func_kwds = wrapper2
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to