Skip to content

Instantly share code, notes, and snippets.

@tkamishima
Created January 21, 2018 03:04
Show Gist options
  • Select an option

  • Save tkamishima/aa55ea9fb958342147cc0fbb3c1d6095 to your computer and use it in GitHub Desktop.

Select an option

Save tkamishima/aa55ea9fb958342147cc0fbb3c1d6095 to your computer and use it in GitHub Desktop.
How can I call function defined in a method
class A(object):
def fun_a(self):
def fun_ab(x):
print(x)
fun_ab('def')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment