Author: Carl Friedrich Bolz <[email protected]>
Branch:
Changeset: r44469:bcb9cb871147
Date: 2011-05-25 17:33 +0200
http://bitbucket.org/pypy/pypy/changeset/bcb9cb871147/
Log: kill silly XXXs
diff --git a/pypy/objspace/std/smalltupleobject.py
b/pypy/objspace/std/smalltupleobject.py
--- a/pypy/objspace/std/smalltupleobject.py
+++ b/pypy/objspace/std/smalltupleobject.py
@@ -33,7 +33,7 @@
raise NotImplementedError
def unwrap(w_tuple, space):
- items = [space.unwrap(w_item) for w_item in w_tuple.tolist()] # XXX
generic mixed types unwrap
+ items = [space.unwrap(w_item) for w_item in w_tuple.tolist()]
return tuple(items)
def make_specialized_class(n):
diff --git a/pypy/objspace/std/tupleobject.py b/pypy/objspace/std/tupleobject.py
--- a/pypy/objspace/std/tupleobject.py
+++ b/pypy/objspace/std/tupleobject.py
@@ -23,7 +23,7 @@
return "%s(%s)" % (w_self.__class__.__name__, ', '.join(reprlist))
def unwrap(w_tuple, space):
- items = [space.unwrap(w_item) for w_item in w_tuple.wrappeditems] #
XXX generic mixed types unwrap
+ items = [space.unwrap(w_item) for w_item in w_tuple.wrappeditems]
return tuple(items)
registerimplementation(W_TupleObject)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit