有没有办法限制特定函数调用的函数?
def a():
private() # okay
def b():
private() # raises error
def private():
print "private"
有没有办法限制特定函数调用的函数?
def a():
private() # okay
def b():
private() # raises error
def private():
print "private"