Author: David Schneider <david.schnei...@picle.org> Branch: Changeset: r39:155337c53d32 Date: 2011-09-15 11:39 +0200 http://bitbucket.org/pypy/lang-io/changeset/155337c53d32/
Log: whitespace diff --git a/io/coroutinemodel.py b/io/coroutinemodel.py --- a/io/coroutinemodel.py +++ b/io/coroutinemodel.py @@ -12,12 +12,12 @@ class W_Coroutine(Coroutine): def __init__(self, space, state, protos): Coroutine.__init__(self, state) - + W_Object.__init__(self, space, protos) def clone(self): return W_Coroutine(self.space, self.costate, [self]) - + @staticmethod def w_getcurrent(space): return W_Coroutine._get_state(space).current @@ -32,7 +32,7 @@ space._coroutine_state = AppCoState(space) space._coroutine_state.post_install() return space._coroutine_state - + def run(self, space, w_receiver, w_context): if self.thunk is None: t = IoThunk(space, self.slots['runMessage'], w_receiver, w_context) @@ -41,13 +41,13 @@ if not space.isnil(p): self.parent = p self.switch() - + class AppCoState(BaseCoState): def __init__(self, space): BaseCoState.__init__(self) self.space = space - + def post_install(self): self.main = W_Coroutine(self.space, self, [self.space.w_object]) self.current = self.main @@ -59,7 +59,7 @@ self.w_message = w_message self.w_receiver = w_receiver self.w_context = w_context - + def call(self): t = self.w_message.eval(self.space, self.w_receiver, self.w_context) self.w_receiver.slots['result'] = t _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit