Example #1
0
 def __del__(self):
     "Deletes this Coordinate Transformation object."
     if self._ptr:
         capi.destroy_ct(self._ptr)
Example #2
0
 def __del__(self):
     "Deletes this Coordinate Transformation object."
     try:
         capi.destroy_ct(self._ptr)
     except (AttributeError, TypeError):
         pass
Example #3
0
"""
Example #4
0
 def __del__(self):
     "Deletes this Coordinate Transformation object."
     if self._ptr and capi:
         capi.destroy_ct(self._ptr)
Example #5
0
File: srs.py Project: nbsky/django
 def __del__(self):
     "Deletes this Coordinate Transformation object."
     try:
         capi.destroy_ct(self._ptr)
     except (AttributeError, TypeError):
         pass