Skip to content

Instantly share code, notes, and snippets.

@Shobin23
Created June 8, 2018 11:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shobin23/c4777b74c27f1e7baa6db9534b2bc632 to your computer and use it in GitHub Desktop.
Save Shobin23/c4777b74c27f1e7baa6db9534b2bc632 to your computer and use it in GitHub Desktop.
Nested python functions.
class aaa:
def __init__(self):
print("inside aaa")
def bbb(self):
print("inside bbb")
def ccc():
print("inside ccc")
onj = aaa()
sec = onj.bbb()
ghk = sec.ccc()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment