Created
June 17, 2016 03:03
-
-
Save Alan-FGR/e23151820e1bd26b59631aad6baef564 to your computer and use it in GitHub Desktop.
SSCCE for IRC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyClass(object): | |
def method_a(self, **kwargs): | |
self.method_b('arg_x_value', **kwargs) | |
def method_b(self, arg_x, arg_y=None, **kwargs): | |
print arg_y | |
self.method_c(**kwargs) | |
def method_c(self, arg_z=None): | |
print arg_z | |
MyClass().method_a(arg_y="somevalue_arg_y", arg_z="somevalue_arg_z") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment