def getParameter(self, parameterName, index=-<NUM_LIT:1>):
assert not (parameterName in self.__dict__ and parameterName in self.ephemeral)<EOL>if parameterName in self.ephemeral:<EOL><INDENT>assert parameterName not in self.__dict__<EOL>return self.ephemeral[parameterName]<EOL><DEDENT>else:<EOL><INDENT>return super(PyRegion, self).getParameter(parameterName, index)<EOL><DEDENT>
Get the value of a NodeSpec parameter. Most parameters are handled
automatically by PyRegion's parameter get mechanism. The ones that need
special treatment are explicitly handled here.