def close(self):
		if self.dev:
			pyf.fp_dev_close(self.dev)
		self.dev = None
Example #2
0
 def close(self):
     """Closes the device. No more methods, except open(), may be called after this."""
     if self.dev:
         pyf.fp_dev_close(self.dev)
     self.dev = None
Example #3
0
	def close(self):
		"""Closes the device. No more methods, except open(), may be called after this."""
		if self.dev:
			pyf.fp_dev_close(self.dev)
		self.dev = None