Skip to content

Commit

Permalink
More fixes per feedback
Browse files Browse the repository at this point in the history
making Alex write my code through comments!  Time for bed.
  • Loading branch information
meatballhat committed Mar 19, 2013
1 parent 1c9c659 commit fe095ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions topaz/modules/kernel.py
Expand Up @@ -10,10 +10,10 @@
from topaz.error import RubyError, error_for_oserror
from topaz.module import Module, ModuleDef
from topaz.modules.process import Process
from topaz.objects.bindingobject import W_BindingObject
from topaz.objects.exceptionobject import W_ExceptionObject
from topaz.objects.procobject import W_ProcObject
from topaz.objects.stringobject import W_StringObject
from topaz.objects.bindingobject import W_BindingObject


class Kernel(Module):
Expand Down Expand Up @@ -309,7 +309,7 @@ def method_eval(self, space, w_source, w_binding=None):
elif not isinstance(w_binding, W_BindingObject):
raise space.error(space.w_TypeError,
"wrong argument type %s (expected Binding)" %
space.str_w(space.getclass(w_binding).name)
space.getclass(w_binding).name
)
return space.send(w_binding, space.newsymbol("eval"), [w_source])

Expand Down

0 comments on commit fe095ab

Please sign in to comment.