Beispiel #1
0
 def help(self, flags, ref):
     # Stub method; initialises Help object and replaces itself with a real help() function the first time it's called.
     from helpsystem import Help
     helpObj = Help(self.path, self.url)
     self.help = lambda flags, ref: helpObj.help(
         flags, ref)  # replace stub method with real help
     return self.help(
         flags, ref
     )  # call real help. Note that help system is responsible for providing a return value (usually the same reference it was called upon, but it may modify this).
Beispiel #2
0
 def help(self, flags, ref):
     # Stub method; initialises Help object and replaces itself with a real help() function the first time it's called.
     from helpsystem import Help
     helpObj = Help(terminology.aetedataforapp(self.target), self.identifier
                    or 'Current Application')
     self.help = lambda flags, ref: helpObj.help(
         flags, ref)  # replace stub method with real help
     return self.help(
         flags, ref
     )  # call real help. Note that help system is responsible for providing a return value (usually the same reference it was called upon, but it may modify this).
Beispiel #3
0
	def help(self, flags, ref):
		# Stub method; initialises Help object and replaces itself with a real help() function the first time it's called.
		from helpsystem import Help
		helpObj = Help(self.path, self.url)
		self.help = lambda flags, ref: helpObj.help(flags, ref) # replace stub method with real help
		return self.help(flags, ref) # call real help. Note that help system is responsible for providing a return value (usually the same reference it was called upon, but it may modify this).
Beispiel #4
0
	def help(self, flags, ref):
		# Stub method; initialises Help object and replaces itself with a real help() function the first time it's called.
		from helpsystem import Help
		helpObj = Help(terminology.aetedataforapp(self.target), self.identifier or 'Current Application')
		self.help = lambda flags, ref: helpObj.help(flags, ref) # replace stub method with real help
		return self.help(flags, ref) # call real help. Note that help system is responsible for providing a return value (usually the same reference it was called upon, but it may modify this).