parameter/argument terminology
Donnal Walter
donnalcwalter at yahoo.com
Sun Jan 5 07:22:14 EST 2003
In writing Python documentation for functions/methods, are the terms
'argument' and 'parameter' essentially interchangeable? Or is it true that
parameter usually refers to the definition and argument to the call?
def myFunc(self, P1, P2):
print P1, P2 # P1 and P2 are parameters
def doSomething(self):
X = 'Hello '
Y = 'world'
self.myFunc(X, Y) # X and Y are arguments
Donnal Walter
Arkansas Children's Hospital
More information about the Python-list
mailing list