Browse Source

added comment about EC_destroy

Darren Ranalli 19 years ago
parent
commit
4972e2d96c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      direct/src/showbase/PythonUtil.py

+ 3 - 0
direct/src/showbase/PythonUtil.py

@@ -2460,6 +2460,9 @@ class EnforcesCalldowns:
                 self, self.__class__))
             
     def EC_destroy(self):
+        """this used to be called destroy() but it was masking destroy() functions
+        on other classes that were multiply-inherited after ('to the right of')
+        this class"""
         if not __debug__:
             return
         # this must be called on destruction to prevent memory leaks