Closed Jaymon closed 1 year ago
Turns out, I find it annoying to do:
self.output.out("foo")
and it would be nice to shorten this:
self.out("foo")
I think I might be able to make this work by adding a __getattr__ method that would check self.output and self.input before failing with an attribute error
__getattr__
self.output
self.input
Turns out, I find it annoying to do:
and it would be nice to shorten this:
I think I might be able to make this work by adding a
__getattr__
method that would checkself.output
andself.input
before failing with an attribute error