Commits

German Larrain committed 9073f41

collision.base.Engine.calc_collision: added a very long comment.

  • Participants
  • Parent commits a0f2502

Comments (0)

Files changed (1)

ars/model/collision/base.py

 		:rtype: list of contact data objects
 
 		"""
+		# Raising an exception efectively makes this definition be that of
+		# an abstract method (i.e. calling it directly raises an exception),
+		# except that it not requires the subclass to implement it if it is
+		# not used. We would like to use @classmethod AND @abstractmethod,
+		# but until Python 3.3 that doesn't work correctly.
+		# http://docs.python.org/3/library/abc.html
 		raise NotImplementedError()