aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-07-10 09:20:40 +1000
committerAlex Gaynor <alex.gaynor@gmail.com>2013-07-10 09:20:40 +1000
commit7b6b73a5dc87da3c5837e5e683a08024aa2c6cea (patch)
treef9cdbcf8df84b466cf72d8dc40cc4700821f0617 /pypy/objspace/descroperation.py
parentA failing test for a dict where a key is a PBC. (diff)
downloadpypy-7b6b73a5dc87da3c5837e5e683a08024aa2c6cea.tar.gz
pypy-7b6b73a5dc87da3c5837e5e683a08024aa2c6cea.tar.bz2
pypy-7b6b73a5dc87da3c5837e5e683a08024aa2c6cea.zip
Corrected a bunch of code that wasn't using 4-space indents.
Diffstat (limited to 'pypy/objspace/descroperation.py')
-rw-r--r--pypy/objspace/descroperation.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/pypy/objspace/descroperation.py b/pypy/objspace/descroperation.py
index 2f7bd75e9f..c6f5a02108 100644
--- a/pypy/objspace/descroperation.py
+++ b/pypy/objspace/descroperation.py
@@ -379,13 +379,13 @@ class DescrOperation(object):
if _check_notimplemented(space, w_res):
return w_res
if w_right_impl is not None:
- if space.is_w(w_obj3, space.w_None):
- w_res = space.get_and_call_function(w_right_impl, w_obj2, w_obj1)
- else:
- w_res = space.get_and_call_function(w_right_impl, w_obj2, w_obj1,
+ if space.is_w(w_obj3, space.w_None):
+ w_res = space.get_and_call_function(w_right_impl, w_obj2, w_obj1)
+ else:
+ w_res = space.get_and_call_function(w_right_impl, w_obj2, w_obj1,
w_obj3)
- if _check_notimplemented(space, w_res):
- return w_res
+ if _check_notimplemented(space, w_res):
+ return w_res
raise OperationError(space.w_TypeError,
space.wrap("operands do not support **"))