Author: Carl Friedrich Bolz-Tereick <[email protected]>
Branch: py3.6
Changeset: r94529:54d322f20c77
Date: 2018-05-12 16:30 +0200
http://bitbucket.org/pypy/pypy/changeset/54d322f20c77/

Log:    fix translation?

diff --git a/pypy/objspace/std/typeobject.py b/pypy/objspace/std/typeobject.py
--- a/pypy/objspace/std/typeobject.py
+++ b/pypy/objspace/std/typeobject.py
@@ -807,7 +807,7 @@
                           dict_w, is_heaptype=True)
 
     # store the w_type in __classcell__
-    w_classcell = dict_w.get("__classcell__")
+    w_classcell = dict_w.get("__classcell__", None)
     if w_classcell:
         _store_type_in_classcell(space, w_type, w_classcell, dict_w)
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to