added comment about EC_destroy

This commit is contained in:
Darren Ranalli 2006-09-30 01:06:26 +00:00
parent 1983748912
commit 4972e2d96c
1 changed files with 3 additions and 0 deletions

View File

@ -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