में फ़ंक्शन कॉलर्स की जानकारी प्राप्त करें मैं पाइथन में किसी विशिष्ट फ़ंक्शन के कॉलर्स के बारे में जानकारी प्राप्त करना चाहता हूं। उदाहरण के लिए:पायथन
class SomeClass():
def __init__(self, x):
self.x = x
def caller(self):
return special_func(self.x)
def special_func(x):
print "My caller is the 'caller' function in an 'SomeClass' class."
क्या यह पाइथन के साथ संभव है?
डॉक्स से: 'यह Python.' – pradyunsg